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

Jonathan Ellis updated CASSANDRA-4343:
--------------------------------------

    Attachment: 4343.txt

CompactionsTest failed after CASSANDRA-4341 but the cause was an existing bug 
in the blacklisting code.

Consider L0 sstables A and B and L1 sstable C.  A and B overlap with C, and C 
is suspect/blacklisted.  getCandidatesFor will return {A, B, C}, and 
getCompactionCandidates will then remove C from the candidate list.  A and B 
will be compacted to D in L1, so L1 will now contain two overlapping sstables C 
and D.

Patch to fix by check blacklist in getCandidatesFor.  If an overlapping sstable 
is suspect, we'll proceed to the next possible range instead of doing an 
incorrect compaction.  Overlapping suspect sstables in L0 are also handled.
                
> fix sstable blacklisting for LCS
> --------------------------------
>
>                 Key: CASSANDRA-4343
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4343
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: compaction
>             Fix For: 1.1.2
>
>         Attachments: 4343.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to