[ https://issues.apache.org/jira/browse/CASSANDRA-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969772#action_12969772 ]
Jon Hermes commented on CASSANDRA-1811: --------------------------------------- Yes. v2 +1. > Cleanup smallest CFs first > -------------------------- > > Key: CASSANDRA-1811 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1811 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 0.6.8 > Reporter: Paul Querna > Assignee: Jon Hermes > Priority: Minor > Fix For: 0.6.9 > > Attachments: 1811-v2.txt, 1811.txt > > > When running a cleanup, it would be an advantage to anti-compact the smallest > SSTables first, so that free disk space is gradually increased, so that > larger sstables later on are more likely to successfully anti-compact. > In 0.6, currently Table.forceCleanup() just iterates the list of CFs in > whatever order they come from tableMetadata.getColumnFamilies, which is just > a keySet(). > The code should be changed to sort the CFs, smallest first. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.