You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2024/10/18 08:19:00 UTC
[jira] [Commented] (CASSANDRA-20011) Gossip settled to early for new joining node leading to data loss
[ https://issues.apache.org/jira/browse/CASSANDRA-20011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17890859#comment-17890859 ]
Michael Semb Wever commented on CASSANDRA-20011:
------------------------------------------------
What version were you running ?
CASSANDRA-13704 should address this: the streams will crash; now available in 4.0.14, 4.1.7 and 5.0.1
> Gossip settled to early for new joining node leading to data loss
> -----------------------------------------------------------------
>
> Key: CASSANDRA-20011
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20011
> Project: Cassandra
> Issue Type: Bug
> Reporter: Runtian Liu
> Priority: Normal
>
> Recently we found one issue with gossip settle to early leading to data loss on the joining node.
> The new node joining the ring crashed a few times before it successfully join the ring. When the new node joins the ring, it will try to wait for gossip to settle, the issue we saw is that the gossip settled before it recognize the entire cluster. This leads to the new node requesting ranges to the wrong nodes and stream phase ended without getting any data because the requested range on the target nodes are not the real owner of the token ranges.
> After checking the gossip settle code, I found that gossip may settle in 5 + 3 = 8 seconds if the new node local gossip statemap size is not changing. This may happen if the new node is busy with other gossip task and cannot populate all nodes to its local gossip state map.
> Proposing a fix for this to add a env variable for bootstrapping node so that we will also check the minimum number of nodes needed for a node to consider gossip settle. PR will come later.
--
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