cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Querna (JIRA)" <>
Subject [jira] Created: (CASSANDRA-1811) Cleanup smallest CFs first
Date Fri, 03 Dec 2010 00:34:10 GMT
Cleanup smallest CFs first

                 Key: CASSANDRA-1811
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Paul Querna
            Priority: Minor

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.

View raw message