Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - API / Semantic Implementation
-
Normal
-
Normal
-
Code Inspection
-
All
-
None
-
Description
As far as I understand, the snapshot "size on disk" is the total size of the snapshot, while the "true size" is the (size_on_disk - size_of_live_sstables).
I created a snapshot on a 3.11 node without traffic and I expected the "true size" to be 0KB since the original sstables were still present, but this didn't seem to be the case:
$ nodetool listsnapshots Snapshot Details: Snapshot name Keyspace name Column family name True size Size on disk test ks1 tbl1 4.86 KiB 5.69 KiB Total TrueDiskSpaceUsed: 4.86 KiB
Attachments
Issue Links
- Discovered while testing
-
CASSANDRA-16843 List snapshots of dropped tables
- Resolved
- is related to
-
CASSANDRA-14587 Deduplicate sstables shared by multiple snapshots when computing true disk space used
- Open
- Testing discovered
-
CASSANDRA-17357 Snapshot true size computation does not include secondary indexes
- Resolved