[ 
https://issues.apache.org/jira/browse/CASSANDRA-19863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Berenguer Blasi updated CASSANDRA-19863:
----------------------------------------
    Summary: Add extra compaction junit  (was: Better compaction junit)

> Add extra compaction junit
> --------------------------
>
>                 Key: CASSANDRA-19863
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19863
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Compaction
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>
> Working on a custom compaction strategy we have found there is no junit 
> making sure compactions strategies account for this specific scenario:
> A- IR sessions starts on N sstables
> B- Just before the IR session completes and the N sstables get moved out of 
> pending repair a compaction kicks in
> C- As the IR session is finalizing the compaction task removes the N sstables 
> and creates a new one that will obviously be pending repair.
> D- The IR session finalizes, the original N sstables are gone, the compaction 
> finishes and a new sstable pending repair is created
> E- That new sstable is orphaned as A. No active IR session knows about it B. 
> No compaction is going to ever touch it as long as it is pending repair. So 
> it it’s just left behind forever.
> This ticket will add such junit.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to