[
https://issues.apache.org/jira/browse/CASSANDRA-14692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610548#comment-16610548
]
Stefan Podkowinski commented on CASSANDRA-14692:
------------------------------------------------
Ok, I didn't realize you're trying this with a node that has been successfully
joined the ring before. This is in fact easy to reproduce. No idea why
{{isJoined}} has been implemented like it is and {{nodetool join}} will not
work for the described situation. But this doesn't seem to be a regression, and
the log output clearly describes the correct command to use instead. Have there
been any other issues related to that, except from the failing {{nodetool
join}} command?
> join_ring=false populates wrong value into StorageServiceMB and prevents join
> by nodetool
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-14692
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14692
> Project: Cassandra
> Issue Type: Bug
> Components: Lifecycle
> Reporter: Roland Johann
> Priority: Major
> Fix For: 3.11.3
>
> Attachments: Bildschirmfoto 2018-09-05 um 17.29.54.png,
> cassandra1_log, cassandra1_nodetool_gossipinfo, cassandra1_nodetool_status,
> cassandra2_nodetool_gossipinfo, cassandra2_nodetool_status
>
>
> Restarting a cassandra cluster member with option
> {{-Dcassandra.join_ring=false}} populates wrong value to its
> {{StorageServiceMB}} field {{Joined}} which causes the actual trigger to join
> via {{nodetool join}} to abort due to check if {{Join}} in
> {{StorageServiceMB}} is true. Via jconsole it's possible as there is no check.
> https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/tools/nodetool/Join.java
> {{nodetool status}} also shows that the node is up and in normal node, on the
> rest of the cluster node status is {{DN}}.
> {{nodetool gossipinfo}} states that the non joined node is in gossip state
> {{hibernate}}.
> Came across this issue while evaluated the problem of zombies to integrate
> into automation processes and the documentation states
> {quote}To avoid this problem, run {{nodetool repair}} on any restored node
> before rejoining it to its cluster.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]