[
https://issues.apache.org/jira/browse/CASSANDRA-16491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonard Ma updated CASSANDRA-16491:
-----------------------------------
Description:
"nodetool bootstrap resume” prints a relevant error message if the operation
fails, but it then proceeds to return a normal error code. It ignores the
ProgressEventType.ERROR message that arrives before COMPLETE. This also happens
when we handle failed connections. BootstrapMonitor should at least track
whether or not it has seen an error, which would allow us to throw when one
occurs after signaling, and therefore to inform callers.
Trunk PR: [https://github.com/apache/cassandra/pull/1949]
was:"nodetool bootstrap resume” prints a relevant error message if the
operation fails, but it then proceeds to return a normal error code. It ignores
the ProgressEventType.ERROR message that arrives before COMPLETE. This also
happens when we handle failed connections. BootstrapMonitor should at least
track whether or not it has seen an error, which would allow us to throw when
one occurs after signaling, and therefore to inform callers.
> nodetool bootstrap resume returns success even if there is an error during
> bootstrap
> ------------------------------------------------------------------------------------
>
> Key: CASSANDRA-16491
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16491
> Project: Cassandra
> Issue Type: Bug
> Components: Tool/nodetool
> Reporter: Caleb Rackliffe
> Assignee: Leonard Ma
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> "nodetool bootstrap resume” prints a relevant error message if the operation
> fails, but it then proceeds to return a normal error code. It ignores the
> ProgressEventType.ERROR message that arrives before COMPLETE. This also
> happens when we handle failed connections. BootstrapMonitor should at least
> track whether or not it has seen an error, which would allow us to throw when
> one occurs after signaling, and therefore to inform callers.
> Trunk PR: [https://github.com/apache/cassandra/pull/1949]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]