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

The order of application of nodetool garbagecollect is broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.11.4, 4.0
    • Component/s: Local/Compaction
    • Labels:
      None
    • Severity:
      Normal

      Description

      nodetool garbagecollect was intended to work from oldest sstable to newest, so that the collection in newer tables can purge tombstones over data that has been deleted.

      However, SSTableReader.maxTimestampComparator currently sorts in the opposite order (the order changed in CASSANDRA-13776 and then back in CASSANDRA-14010), which makes the garbage collection unable to purge any tombstones.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                blambov Branimir Lambov
                Reporter:
                blambov Branimir Lambov
                Authors:
                Branimir Lambov
                Reviewers:
                ZhaoYang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: