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

forceCompactionForTokenRange when using a wrapped range may include sstables not within that range

    XMLWordPrintableJSON

Details

    • Correctness - API / Semantic Implementation
    • Normal
    • Normal
    • Unit Test
    • All
    • None
    • Hide

      LeveledCompactionStrategyTest#testTokenRangeCompaction should be enough to cover this. The documentation of nodetool compact and StorageServiceMBean.forceKeyspaceCompactionForTokenRange should be updated.

      Show
      LeveledCompactionStrategyTest#testTokenRangeCompaction should be enough to cover this. The documentation of nodetool compact and StorageServiceMBean.forceKeyspaceCompactionForTokenRange should be updated.

    Description

      This was found in CASSANDRA-17537

      When you compact the range (32, 31] this should include everything BUT 32, but in the test org.apache.cassandra.db.compaction.LeveledCompactionStrategyTest#testTokenRangeCompaction it found that SSTables with the bounds (32, 32) were getting included in the set of SSTables to compact

      Attachments

        Issue Links

          Activity

            People

              adelapena Andres de la Peña
              dcapwell David Capwell
              Andres de la Peña
              Ekaterina Dimitrova
              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 - 1h 10m
                  1h 10m