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

Estimated droppable tombstones given by sstablemetadata counts tombstones that aren't actually "droppable"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.9, 3.10
    • Legacy/Tools
    • None
    • Low

    Description

      => "Estimated droppable tombstones" given by sstablemetadata counts tombstones that aren't actually "droppable"

      To be clear, the "Estimated droppable tombstones" calculation counts tombstones that have not yet passed gc_grace_seconds as droppable tombstones, which is unexpected, since such tombstones aren't droppable.

      To observe the problem:

      Create a table using the default gc_grace_seconds (default gc_grace_seconds is 86400 is 1 day).
      Populate the table with a couple of records.
      Do a delete.
      Do a "nodetool flush" to flush the memtable to disk.
      Do an "sstablemetadata <sstable>" to get the metadata of the sstable you just created by doing the flush, and observe that the Estimated droppable tombstones is greater than 0.0 (actual value depends on the total number inserts/updates/deletes that you did before triggered the flush)

      Attachments

        Activity

          People

            marcuse Marcus Eriksson
            thatran Thanh
            Marcus Eriksson
            Yuki Morishita
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: