Package org.apache.cassandra.tools
Class SSTableExpiredBlockers
- java.lang.Object
-
- org.apache.cassandra.tools.SSTableExpiredBlockers
-
public class SSTableExpiredBlockers extends java.lang.Object
During compaction we can drop entire sstables if they only contain expired tombstones and if it is guaranteed to not cover anything in other sstables. An expired sstable can be blocked from getting dropped if its newest timestamp is newer than the oldest data in another sstable. This class outputs all sstables that are blocking other sstables from getting dropped so that a user can figure out why certain sstables are still on disk.
-
-
Constructor Summary
Constructors Constructor Description SSTableExpiredBlockers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.collect.Multimap<SSTableReader,SSTableReader>
checkForExpiredSSTableBlockers(java.lang.Iterable<SSTableReader> sstables, long gcBefore)
static void
main(java.lang.String[] args)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
checkForExpiredSSTableBlockers
public static com.google.common.collect.Multimap<SSTableReader,SSTableReader> checkForExpiredSSTableBlockers(java.lang.Iterable<SSTableReader> sstables, long gcBefore)
-
-