Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
CASSANDRA-1404 Improve pre-cleanup estimate of disk space required
- Resolved