You can subscribe to event - org.apache.ignite.events.EventType#EVT_NODE_SEGMENTED with org.apache.ignite.IgniteEvents#localListen and take action inside listener. Please note that listener is called in sensitive internal system thread, so make sure to move all complex and blocking processing to another thread.
--Yakov 2016-04-07 0:23 GMT+03:00 jnaujok <[email protected]>: > We have a health check that runs against nodes, but are running into a > circumstance where a node can become segmented (Split Brain). I'm wondering > if there's a simple and easy way, preferably a function call, where the > health check running on the node can determine if it's been segmented, so > we > can alert and take action. This health check is automated and can respond a > lot faster than any ops personnel can respond to a log alert. > > Thanks. > > Jeff Naujok > Payfone > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Easy-way-to-determine-a-node-has-been-segmented-tp3983.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >
