[ https://issues.apache.org/jira/browse/CASSANDRA-16146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225750#comment-17225750 ]
Yifan Cai commented on CASSANDRA-16146: --------------------------------------- Fixups and CI 3.0: https://github.com/yifan-c/cassandra/tree/fixup/CASSANDRA-16146-3.0 https://app.circleci.com/pipelines/github/yifan-c/cassandra/143/workflows/1a55cee6-36ef-4e8a-a8d4-6798549ca202 3.11: https://github.com/yifan-c/cassandra/tree/fixup/CASSANDRA-16146-3.11 https://app.circleci.com/pipelines/github/yifan-c/cassandra/144/workflows/52cfbd53-92cb-4644-ae0d-694a9bef398c trunk: https://github.com/yifan-c/cassandra/tree/fixup/CASSANDRA-16146-trunk https://app.circleci.com/pipelines/github/yifan-c/cassandra/142/workflows/480e513f-2cf5-47b7-a608-d37cb91e1393 > Node state incorrectly set to NORMAL after nodetool disablegossip and > enablegossip during bootstrap > --------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-16146 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16146 > Project: Cassandra > Issue Type: Bug > Components: Cluster/Gossip > Reporter: Yifan Cai > Assignee: Yifan Cai > Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0-beta3 > > Time Spent: 20m > Remaining Estimate: 0h > > At high level, {{StorageService#setGossipTokens}} set the gossip state to > {{NORMAL}} blindly. Therefore, re-enabling gossip (stop and start gossip) > overrides the actual gossip state. > > It could happen in the below scenario. > # Bootstrap failed. The gossip state remains in {{BOOT}} / {{JOINING}} and > code execution exits StorageService#initServer. > # Operator runs nodetool to stop and re-start gossip. The gossip state gets > flipped to {{NORMAL}} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org