You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by ALEKSEY KUZNETSOV <al...@gmail.com> on 2017/04/20 17:07:01 UTC

tcp discovery message exchange

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*

Re: tcp discovery message exchange

Posted by Denis Magda <dm...@apache.org>.
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 <al...@gmail.com> 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*