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

Brandon Williams commented on CASSANDRA-6585:
---------------------------------------------

I thought about those, but came to this conclusion: what really matters is 
whether the snap is valid or not.  When you're half-bootstrapped, you don't 
have all the data, and your snap will be invalid/useless.  When you're moving 
or relocating, though, you do have a complete set of data (for some token(s) at 
least) so if you took a snap, it could be used later.

> Make node tool exit code non zero when it fails to create snapshot
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-6585
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6585
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Vishy Kasar
>            Assignee: Brandon Williams
>             Fix For: 1.2.14
>
>         Attachments: 6585.txt
>
>
> When node tool snapshot is invoked on a bootstrapping node, it does not 
> create the snapshot as expected. However node tool returns a zero exit code 
> in that case. Can we make the node tool return a non zero exit code when 
> create snapshot fails?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to