tcp discovery message exchange

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

tcp discovery message exchange

voipp
Hi, Igniters! I have a question. What is the purpoise of coordinator
sending TcpDiscoveryNodeAddedMessage to every node?
We could have just sent TcpDiscoveryNodeAddFinishedMessage instead.
--

*Best Regards,*

*Kuznetsov Aleksey*
Reply | Threaded
Open this post in threaded view
|

Re: tcp discovery message exchange

dmagda
As far as I recall, the first message is needed to announce that there is a new node that wishes to join the cluster. The node will receive an order number and will take its place in the cluster ring after the message is processed.

The second message is need to finalize the join process: change a topology version, send and process NODE_JOIN events, etc.


Denis

> On Apr 20, 2017, at 10:07 AM, ALEKSEY KUZNETSOV <[hidden email]> wrote:
>
> Hi, Igniters! I have a question. What is the purpoise of coordinator
> sending TcpDiscoveryNodeAddedMessage to every node?
> We could have just sent TcpDiscoveryNodeAddFinishedMessage instead.
> --
>
> *Best Regards,*
>
> *Kuznetsov Aleksey*