Class 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 Detail

      • SSTableExpiredBlockers

        public SSTableExpiredBlockers()
    • 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)