Cluster Status Update Overview

I am reading gossip akka cluster and still have one slight misunderstanding about gossip.

As said in this answer , two nodes gossip about the meaning, and then who saw this value. But this is due to some convergence issue. Here is how I see it:

S is a visible set.

cluster topology

The problem is at some point, only node 4 knows that convergence has occurred. node 1, 2, and 3 still think this is not the case. I am wondering how does node 4 deal with convergence?

Should he initiate new gossip around this convergence? Or how can other sites find out about this?

+2
source share
1 answer

Sites 1-3 will still gossip (well, probably, we already know about convergence, because they know that 4 matters.) As they continue to gossip, they will exchange notes about who saw this value.

Node 4 (and 3 indeed), and all subsequent nodes that are aware of convergence, continue to gossip, but without the random weighting mentioned in your other question. The protocol section of your linked document says:

, gossip , , node. ( ), .

+1

Source: https://habr.com/ru/post/1654219/


All Articles