Package org.apache.cassandra.tools
Class SSTableExpiredBlockers
java.lang.Object
org.apache.cassandra.tools.SSTableExpiredBlockers
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<SSTableReader,SSTableReader> checkForExpiredSSTableBlockers(Iterable<SSTableReader> sstables, long gcBefore) static void
-
Constructor Details
-
SSTableExpiredBlockers
public SSTableExpiredBlockers()
-
-
Method Details
-
main
-
checkForExpiredSSTableBlockers
public static com.google.common.collect.Multimap<SSTableReader,SSTableReader> checkForExpiredSSTableBlockers(Iterable<SSTableReader> sstables, long gcBefore)
-