[ https://issues.apache.org/jira/browse/CASSANDRA-6216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430121#comment-15430121 ]
Marcus Eriksson commented on CASSANDRA-6216: -------------------------------------------- This looks good to me, just one small comment Instead of calculating it in LeveledManifest#getCompactionCandidates - I think we could override AbstractCompactionStrategy#startup in LeveledCompactionStrategy - at this point we should know all the sstables and can do the calculation > Level Compaction should persist last compacted key per level > ------------------------------------------------------------ > > Key: CASSANDRA-6216 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6216 > Project: Cassandra > Issue Type: Sub-task > Reporter: sankalp kohli > Assignee: Dikang Gu > Priority: Minor > Labels: compaction, lcs > Attachments: JIRA-6216.diff > > > Level compaction does not persist the last compacted key per level. This is > important for higher levels. > The sstables with higher token and in higher levels wont get a chance to > compact as the last compacted key will get reset after a restart. -- This message was sent by Atlassian JIRA (v6.3.4#6332)