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

Cyril Scetbon commented on CASSANDRA-14381:
-------------------------------------------

hmm, and it's there in 2.1 too 
[https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/service/StorageService.java#L2629-L2630]
 and it's been there for 4 years 
[https://github.com/apache/cassandra/commit/719103b649c1c5459683a8ffd1c013664f1ffbb6]

I really don't know why it's there. What if we need to restore the whole 
node/cluster for some reason ??

 

> nodetool listsnapshots is missing snapshots
> -------------------------------------------
>
>                 Key: CASSANDRA-14381
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14381
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: MacOs 10.12.5
> Java 1.8.0_144
> Cassandra 3.11.2 (brew install)
>            Reporter: Cyril Scetbon
>            Priority: Major
>
> The output of *nodetool listsnapshots* is inconsistent with the snapshots 
> created :
> {code:java}
> $ nodetool listsnapshots
> Snapshot Details:
> There are no snapshots
> $ nodetool snapshot -t tag1 --table local system
> Requested creating snapshot(s) for [system] with snapshot name [tag1] and 
> options {skipFlush=false}
> Snapshot directory: tag1
> $ nodetool snapshot -t tag2 --table local system
> Requested creating snapshot(s) for [system] with snapshot name [tag2] and 
> options {skipFlush=false}
> Snapshot directory: tag2
> $ nodetool listsnapshots
> Snapshot Details:
> There are no snapshots
> $ ls 
> /usr/local/var/lib/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/snapshots/
> tag1 tag2{code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to