Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18756

TimeWindowCompactionStrategy with unsafe_aggressive_sstable_expiration keeps overlaping SSTable references

    XMLWordPrintableJSON

Details

    Description

      When unsafe_aggressive_sstable_expiration is turned on, TWCS should not create or maintain an iterator of overlapping sstables. However, because TimeWindowCompactionController inherits from CompactionController and only sets ignoreOverlaps after the base class has constructed the overlap iterator, it ends up making an overlap iterator and then never updating it.

      The end result is that such a compaction keeps references to lots of and likely all other SSTables on the node and thus delays the deletion of obsolete ones by hours or even days.

      Attachments

        Issue Links

          Activity

            People

              ethan.brown Ethan Brown
              blambov Branimir Lambov
              Ethan Brown
              Branimir Lambov, Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h