[ 
https://issues.apache.org/jira/browse/CASSANDRA-16843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397097#comment-17397097
 ] 

Manish Khandelwal edited comment on CASSANDRA-16843 at 8/11/21, 7:23 AM:
-------------------------------------------------------------------------

Looks okay to me. List snapshot should only show snapshot of live tables. As 
per clearsnapshot, once table is dropped no point in keeping its backup. Any 
use case which requires clearsnapshot to not clear snapshot of dropped tables. 
For example if I have dropped a table x, then its old snapshot does not come in 
list snapshot which is correct in my opinion. For clearsnapshot if old 
snapshots are getting cleared, I dont find any reason not to clear them (Space 
gets created and old snapshots are not of any use as such)


was (Author: manmagic3):
Looks okay to me. List snapshot should only show snapshot of live tables. As 
per clearsnapshot, once table is dropped no point in keeping its backup. Any 
usecase which requires clearsnapshot to not clear snapshot of dropped tables.

> auto-snapshots for dropped tables don't appear in nodetool listsnapshots
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16843
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16843
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: James Brown
>            Priority: Normal
>
> 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.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