You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Lohfink (JIRA)" <ji...@apache.org> on 2016/08/19 18:36:20 UTC
[jira] [Comment Edited] (CASSANDRA-12508) nodetool repair returns
status code 0 for some errors
[ https://issues.apache.org/jira/browse/CASSANDRA-12508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428604#comment-15428604 ]
Chris Lohfink edited comment on CASSANDRA-12508 at 8/19/16 6:35 PM:
--------------------------------------------------------------------
Doesn't {{0}} represent the "nothing to do here, complete" case, where a node that doesnt exist it would be the correct response? Its also returns zero on things like if a keyspace with RF=1, or if all the ranges are empty. Ive always expected the 0 returned here, otherwise subscribing to the command id that will have nothing happen in it would just idle forever.
was (Author: cnlwsu):
Doesn't {{0}} represent the "nothing to do here, complete" case, where a node that doesnt exist it would be the correct response? Its also returns zero on things like if a keyspace with RF=1, or if all the ranges are empty. Ive always expected the 0 returned here.
> nodetool repair returns status code 0 for some errors
> -----------------------------------------------------
>
> Key: CASSANDRA-12508
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12508
> Project: Cassandra
> Issue Type: Bug
> Reporter: Blake Eggleston
> Assignee: Blake Eggleston
>
> For instance, when specifying hosts that don’t exist, an error message is logged, but the return code is zero.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)