cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6216) Level Compaction should persist last compacted key per level
Date Sat, 20 Aug 2016 05:50:22 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429243#comment-15429243
] 

Marcus Eriksson commented on CASSANDRA-6216:
--------------------------------------------

If we want to start compaction in level n, maybe we could find the newest (by creation or
modification time) file in level n+1 and use its last token when finding the start point in
level n?

> 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
>            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)

Mime
View raw message