[
https://issues.apache.org/jira/browse/CASSANDRA-16843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530236#comment-17530236
]
Stefan Miklosovic edited comment on CASSANDRA-16843 at 4/29/22 8:42 PM:
------------------------------------------------------------------------
I think I hit few bugs:
1) create a table, insert some data
2) create a snapshot with TTL like 1 minute
3) drop that table
4) list snapshots, you will see dropped snaphot there as well as snaphot with
TTL
However, it will not remove the snapshot with TTL after 1 minute if that table
is dropped. In other words, it will not expire snapshots on tables which do not
exist anymore.
2) listsnapshots gives me "Total TrueDiskSpaceUsed: 0 bytes" irrelevant how
many snapshots I have
3) Not sure if it is a bug but it is weird - when I list snapshots, it gives me
some values in True Size / Size on Disk but when I drop that table and I list
snapshots again, these sizes are different.
I am -1 on this as it is in the current state, unfortunately. We can still
merge this if these problems are addressed before the freeze. I will be online
occasionaly during weekend too.
was (Author: smiklosovic):
I think I hit few bugs:
1) create a table, insert some data
2) create a snapshot with TTL like 1 minute
3) drop that table
4) list snapshots, you will see dropped snaphot there as well as snaphot with
TTL
However, it will not remove the snapshot with TTL after 1 minute if that table
is dropped. In other words, it will not expire snapshots on tables which do not
exist anymore.
2) listsnapshots gives me "Total TrueDiskSpaceUsed: 0 bytes" irrelevant how
many snapshots I have
3) Not sure if it is a bug but it is weird - when I list snapshots, it gives me
some values in True Size / Size on Disk but when I drope that able and I list
snapshots again, these sizes are different.
I am -1 on this as it is in the current state, unfortunately. We can still
merge this if these problems are addressed before the freeze. I will be online
occasionaly during weekend too.
> List snapshots of dropped tables
> --------------------------------
>
> Key: CASSANDRA-16843
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16843
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Snapshots
> Reporter: James Brown
> Assignee: Paulo Motta
> Priority: Normal
> Fix For: 4.1
>
> Time Spent: 4h 40m
> Remaining Estimate: 0h
>
> Auto snapshots from dropped tables don't seem to show up in {{nodetool
> listsnapshots}} (even though they do get cleared by {{nodetool
> clearsnapshot}}). This makes them kind of annoying to clean up, since you
> need to muck about in the data directory to find them.
> Erick on the mailing list said that this seems to be an oversight and that
> clearsnapshot was fixed by
> [CASSANDRA-6418|https://issues.apache.org/jira/browse/CASSANDRA-6418].
> I reproduced this both on 3.11.11 and 4.0.0.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]