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

C* 4.0 is missing a way to identify transient/non-transient SSTables on disk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-beta1, 4.0
    • Tool/sstable
    • None
    • Correctness
    • Normal
    • Low Hanging Fruit
    • User Report
    • All
    • None
    • Hide

      Ran a simple test against sstable to make sure it worked:

      sequoyha.pelletier@spelletier-rmbp15:[~/cassandra-trunk/tools/bin]
      510-Mon May 11 15:16
      
       LocalDeletionTime: 1442880000 (09/21/2015 17:00:00)
      EncodingStats minTimestamp: 1588980982231688 (05/08/2020 16:36:22)
      ...
      RegularColumns: author:org.apache.cassandra.db.marshal.UTF8Type, isbn:org.apache.cassandra.db.marshal.UTF8Type, publisher:org.apache.cassandra.db.marshal.UTF8Type, category:org.apache.cassandra.db.marshal.UTF8Type, product_name:org.apache.cassandra.db.marshal.UTF8Type
      Is Transient: false

      The isTransient is a boolean value so false is enough to verify the information is showing.

      Show
      Ran a simple test against sstable to make sure it worked: sequoyha.pelletier@spelletier-rmbp15:[~/cassandra-trunk/tools/bin] 510-Mon May 11 15:16  LocalDeletionTime: 1442880000 (09/21/2015 17:00:00) EncodingStats minTimestamp: 1588980982231688 (05/08/2020 16:36:22) ... RegularColumns: author:org.apache.cassandra.db.marshal.UTF8Type, isbn:org.apache.cassandra.db.marshal.UTF8Type, publisher:org.apache.cassandra.db.marshal.UTF8Type, category:org.apache.cassandra.db.marshal.UTF8Type, product_name:org.apache.cassandra.db.marshal.UTF8Type Is Transient: false The isTransient is a boolean value so false is enough to verify the information is showing.

    Description

      Currently, there is no way to identify SSTables that were created as transient replicated data. Even thought the feature is experimental we should open that up for those that want to experiment. This seems to be an oversight. I have added the missing line of code to the SStableMetadataViewer and will attach a patch shortly.

      Attachments

        1. 15806-4.0.txt
          1 kB
          sequoyha pelletier

        Activity

          People

            sequoyha sequoyha pelletier
            sequoyha sequoyha pelletier
            sequoyha pelletier
            Ekaterina Dimitrova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: