Hi Kamal, There are several options how this kind of exception may be processed by the kernel. See org.apache.ignite.plugin.segmentation.SegmentationPolicy for more details.
In your scenario you can set IgniteConfiguration.setSegmentationPolicy(SegmentationPolicy.RESTART_JVM). In any case are you sure that the reason of the issue is related to network problems? I would suggest to check the logs of the node that was segmented for more details. Also usually the node become segmented due to long garbage collection. Read this page [1] and make sure that you’re not facing with the stop-the-world pauses. [1] https://apacheignite.readme.io/docs/jvm-and-system-tuning <https://apacheignite.readme.io/docs/jvm-and-system-tuning> — Denis > On Jun 30, 2016, at 2:18 PM, Kamal C <[email protected]> wrote: > > Hi, > > In my setup, sometimes due to network problems local node gets segmented > and stopped. > How to tell Ignite to retry continuously to connect with peers instead of > stopping the node ? > > Logs: > > WARN [2016-06-30T16:26:15,370] TcpDiscoverySpi: warning(): Node is out of > topology (probably, due to short-time network problems). > WARN [2016-06-30T16:26:15,370] GridDiscoveryManager: warning(): Local node > SEGMENTED: TcpDiscoveryNode [id=7d24ed24-a742-4d22-b52a-4ce33317e209, > addrs=[192.168.11.127], > sockAddrs=[tcltestvm3.nmsworks.co.in/192.168.11.127:47500 > <http://tcltestvm3.nmsworks.co.in/192.168.11.127:47500>, > /192.168.11.127:47500 <http://192.168.11.127:47500/>], discPort=47500, > order=2, intOrder=2, lastExchangeTime=1467284175362, loc=true, > ver=1.6.0#19700101-sha1:00000000, isClient=false] > WARN [2016-06-30T16:26:15,417] GridDiscoveryManager: warning(): Stopping > local node according to configured segmentation policy. > WARN [2016-06-30T16:26:15,418] GridDiscoveryManager: warning(): Node FAILED: > TcpDiscoveryNode [id=1a2bfcd9-d72f-4a1e-a69f-c6d0b8f8814f, > addrs=[192.168.9.211], sockAddrs=[tcltest1.nmsworks.co.in/192.168.9.211:47500 > <http://tcltest1.nmsworks.co.in/192.168.9.211:47500>, /192.168.9.211:47500 > <http://192.168.9.211:47500/>], discPort=47500, order=1, intOrder=1, > lastExchangeTime=1467278442434, loc=false, ver=1.6.0#19700101-sha1:00000000, > isClient=false] > > > Regards, > Kamal C
