You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jaydeepkumar Chovatia (Jira)" <ji...@apache.org> on 2023/08/13 08:53:00 UTC

[jira] [Commented] (CASSANDRA-18749) Expose bootstrap failure state via JMX

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

Jaydeepkumar Chovatia commented on CASSANDRA-18749:
---------------------------------------------------

[~smiklosovic], I've added a JMX option for the node's bootstrap as well. Could you please review the code? [PR|https://github.com/apache/cassandra/compare/trunk...jaydeepkumar1984:cassandra:join_jmx]

 

> Expose bootstrap failure state via JMX
> --------------------------------------
>
>                 Key: CASSANDRA-18749
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18749
>             Project: Cassandra
>          Issue Type: Task
>          Components: Observability/JMX
>            Reporter: Jaydeepkumar Chovatia
>            Assignee: Jaydeepkumar Chovatia
>            Priority: Normal
>
> Similar to how we have exposed a node's decommissioning via JMX as part of CASSANDRA-18555.
> This ticket will address the same when a new node joins (i.e., bootstrap). 
> When a node is bootstrapped, an error is thrown back to the caller if any failure happens.
> But Cassandra's bootstrap takes considerable time ranging from minutes to hours to days. There are various scenarios in that the caller may need to probe the status again:
>  * The caller times out
>  * It is not possible to keep the caller hanging for such a long time
> And If the caller does not know what happened internally, then it cannot retry, etc., leading to other issues.
> So, in this ticket, a new nodetool/JMX option will be exposed that can be invoked by the caller anytime, and it will return the correct status.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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