[
https://issues.apache.org/jira/browse/CASSANDRA-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897959#comment-13897959
]
Marcus Eriksson edited comment on CASSANDRA-6688 at 2/11/14 4:02 PM:
---------------------------------------------------------------------
bq. This affects 1.2 as well right?
yeah, looks like it
Should we perhaps stop skipping levels? Can't really see it happening more than
once in the lifetime of a cluster, right after bootstrap (or after dropping all
the sstables to L0), first compaction might skip L1.
was (Author: krummas):
.bq This affects 1.2 as well right?
yeah, looks like it
Should we perhaps stop skipping levels? Can't really see it happening more than
once in the lifetime of a cluster, right after bootstrap (or after dropping all
the sstables to L0), first compaction might skip L1.
> Avoid possible sstable overlaps with leveled compaction
> -------------------------------------------------------
>
> Key: CASSANDRA-6688
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6688
> Project: Cassandra
> Issue Type: Bug
> Reporter: Marcus Eriksson
> Assignee: Marcus Eriksson
> Attachments: 0001-6688.patch, 6688-v2.txt
>
>
> Two cases where we can end up with overlapping sstables in the leveled
> manifest;
> FIrst one is when we skip levels during compaction. Here we need to make sure
> we are not compacting in newLevel - 1 since if, for example, we are doing a
> L1 -> L2 compaction and then start a new L0 compaction where we decide to
> skip L1, we could have overlapping sstables in L2 when the compactions are
> done. This case is new in 2.0 since we check if we skip levels before the
> compaction starts.
> Second case is where we try to include as many overlapping L0 sstables as
> possible, here we could add sstables that are not compacting, but overlap
> sstables that are.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)