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

maxwellguo commented on CASSANDRA-15297:
----------------------------------------

after we fix the bug the resultt should be like this :  !after-fix.jpg! 

> nodetool can not create snapshot with snapshot name that have special 
> character
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15297
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15297
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: maxwellguo
>            Assignee: maxwellguo
>            Priority: Normal
>         Attachments: after-fix.jpg, listsnapshots-p-s.jpg, snapshot-p-s.jpg, 
> snapshots-listsnapshot-.jpg.jpg
>
>
> we make snapshot through "nodetool snapshot -t snapshotname " , when 
> snapshotname contains special characters like "/", the make snapshot process 
> successfully , but the result 
> can be different ,when we check the data file directory or use "nodetool 
> listsnapshots".
> here is some case :
> 1. nodetool snapshot -t "p/s"
> the listsnapshot resturns snapshot  p for all table but actually the snapshot 
> name is "p/s";
> also the data directory is like the format : 
> datapath/snapshots/p/s/snapshot-datafile-link
> 2. nodetool snapshot -t "/"
> the listsnapshot resturns "there is not snapshot"; but the make snapshot 
> process return successfully and the data directory is like the format : 
> datapath/snapshots/snapshot-datafile-link
> the Attachements are the result under our environment.
> so for me , we suggest that the snapshot name should not contains special 
> character. just throw exception and told the user not to use  special 
> character.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

Reply via email to