Hello, Igniters!

I'd like to discuss behaviour of Ignite process exit code if the node was
stopped by failure handler [1][2]. At the moment ignite process returns
exit code 0 after the stop in all scenarios, except runtime halt by
StopNodeOrHaltFH [1]. In this case, the exit code will be 130 [3]

My proposal: always finish Ignite process with code [3], if a node was
stopped by FH. It could be helpful for administration purposes, you can
distinguish normal node stop from node stop by FH on OS level.

WDYT?

[1]
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/failure/StopNodeOrHaltFailureHandler.html

[2]
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/failure/StopNodeFailureHandler.html

[3]
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/Ignition.html#KILL_EXIT_CODE
-- 
BR, Sergey Antonov

Reply via email to