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

Add sstabledump option to display only tombstones

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.1
    • Tool/sstable
    • None

    Description

      The utility sstabledump would be more useful if it had an option to display just tombsones, much like the -e option to display only partition keys. 

      When tombstones exist, it should display the partition key, clustering columns and the range, row or cell tombstone.

      When investigating tombstone issues, a common way is to run sstabledump.  However, the output can be very large, on the order of gigabytes and scanning the JSON output for tombstone entries is a hunt-and-peck experience or requires using a tool like 'jq'.  Being able to just view the tombstones would eliminate the issue of the output being too large and not require extraneous tools.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              bschoeni Brad Schoening
              Stefan Miklosovic
              Brad Schoening
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 10m
                  10m