You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paulo Motta (Jira)" <ji...@apache.org> on 2022/03/14 20:27:00 UTC
[jira] [Updated] (CASSANDRA-17267) Snapshot true size is miscalculated
[ https://issues.apache.org/jira/browse/CASSANDRA-17267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulo Motta updated CASSANDRA-17267:
------------------------------------
Fix Version/s: 3.11.13
4.1
4.0.4
Source Control Link: https://github.com/apache/cassandra/commit/95a622305722889c321204c4bca68a3517a29aab
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
Committed to cassandra-3.11 branch and merged up to {{trunk}} as {{{}95a622305722889c321204c4bca68a3517a29aab{}}}.
> Snapshot true size is miscalculated
> -----------------------------------
>
> Key: CASSANDRA-17267
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17267
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Snapshots
> Reporter: Paulo Motta
> Assignee: Paulo Motta
> Priority: Normal
> Fix For: 3.11.13, 4.1, 4.0.4
>
>
> 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:
> {noformat}
> $ 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
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org