You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by sjs <s_...@yahoo.com> on 2016/01/29 19:12:47 UTC

Ignite cluster recovery after network partition

Hi, 

I am using Ignite in a two node cluster mode with a replicated cache . 
One of our needs was to have cluster reform with no manual intervention when
a node disconnects from network and then connects back. 

Does ignite support recreating the cluster / node joining back to the
cluster after a network partition. 

regards 
Jayaram.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-cluster-recovery-after-network-partition-tp2775.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite cluster recovery after network partition

Posted by vkulichenko <va...@gmail.com>.
Hi Jayaram,

If client node disconnect from the server topology, it will reconnect when
the network connection is restored. Note that when it's disconnected, any
API call will throw special IgniteClientDisconnectedException that has
reconnectFuture() method. It gives a future that will be completed when the
reconnection happens.

If the server topology itself is segmented, then you will have two
independent clusters which can't be merged without losing data consistency.
You will have to stop one of them and start again when connection is
restored. They will rejoin the topology and rebalance the data.

BTW, GridGain Enterprise provides capabilities for automatic resolution of
such cases [1].

[1] https://gridgain.readme.io/docs/network-segmentation

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-cluster-recovery-after-network-partition-tp2775p2778.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite cluster recovery after network partition

Posted by luqmanahmad <lu...@gmail.com>.
See [1] for free network segmentation plugin

[1]  https://github.com/luqmanahmad/ignite-plugins
<https://github.com/luqmanahmad/ignite-plugins>  



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/