[ 
https://issues.apache.org/jira/browse/CASSANDRA-15806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

sequoyha pelletier updated CASSANDRA-15806:
-------------------------------------------
    Test and Documentation Plan: 
Ran a simple test against sstable to make sure it worked:
{noformat}
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{noformat}

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

  was:
Tested agains sstables to make sure it worked:
{noformat}
sequoyha.pelletier@spelletier-rmbp15:[~/cassandra-trunk/tools/bin]
510-Mon May 11 15:16
-->$ ./sstablemetadata 
../../data/data/daintree/products-20bbbb80916511eab425f9ae993c7b2c/na-7-big-Statistics.db
 
SSTable: 
/Users/sequoyha.pelletier/cassandra-trunk/data/data/daintree/products-20bbbb80916511eab425f9ae993c7b2c/na-7-big
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Bloom Filter FP chance: 0.01
Minimum timestamp: 1588980982231688 (05/08/2020 16:36:22)
Maximum timestamp: 1588982281330936 (05/08/2020 16:58:01)
SSTable min local deletion time: 2147483647 (no tombstones)
SSTable max local deletion time: 2147483647 (no tombstones)
Compressor: org.apache.cassandra.io.compress.LZ4Compressor
Compression ratio: 0.6960054067248149
TTL min: 0
TTL max: 0
First token: -9223366104813810737 (cac75b42-a598-4d11-b497-80ffd39da575)
Last token: 9223335123199673029 (21dd4443-55b8-4592-a3f5-d76e9e35014e)
minClusteringValues: []
maxClusteringValues: []
Estimated droppable tombstones: 0.0
SSTable Level: 0
Repaired at: 0
Pending repair: --
Replay positions covered: {CommitLogPosition(segmentId=1588977222779, 
position=494)=CommitLogPosition(segmentId=1588977222788, position=10467779), 
CommitLogPosition(segmentId=1589235043721, 
position=494)=CommitLogPosition(segmentId=1589235043721, position=494)}
totalColumnsSet: 5242880
totalRows: 1048576
Estimated tombstone drop times: 
   Drop Time | Count  (%)  Histogram 
   Percentiles
   50th      0 
   75th      0 
   95th      0 
   98th      0 
   99th      0 
   Min       0 
   Max       0 
Partition Size: 
   Size (bytes) | Count   (%)  Histogram 
   103 (103 B)  |  27198 (  2) O
   124 (124 B)  | 663446 ( 63) OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
   149 (149 B)  | 347860 ( 33) OOOOOOOOOOOOOOO.
   179 (179 B)  |  10061 (  0) .
   215 (215 B)  |     11 (  0) 
   Percentiles
   50th      124 (124 B)
   75th      149 (149 B)
   95th      149 (149 B)
   98th      149 (149 B)
   99th      149 (149 B)
   Min       87 (87 B)
   Max       215 (215 B)
Column Count: 
   Columns | Count    (%)  Histogram 
   5       | 1048576 (100) OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
   Percentiles
   50th      5
   75th      5
   95th      5
   98th      5
   99th      5
   Min       5
   Max       5
Estimated cardinality: 1029815
EncodingStats minTTL: 0
EncodingStats minLocalDeletionTime: 1442880000 (09/21/2015 17:00:00)
EncodingStats minTimestamp: 1588980982231688 (05/08/2020 16:36:22)
KeyType: org.apache.cassandra.db.marshal.UUIDType
ClusteringTypes: []
StaticColumns: 
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{noformat}


> C* 4.0 is missing a way to identify transient/non-transient SSTables on disk
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15806
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15806
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/sstable
>            Reporter: sequoyha pelletier
>            Assignee: sequoyha pelletier
>            Priority: Normal
>             Fix For: 4.0
>
>         Attachments: 15806-4.0.txt
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to