I have an Erlang/OTP app, whose handle_info function is not getting {nodedown, _, _ }
or {nodedown, _ }
messages when a companion node goes down. However, when the companion node comes back up, I do get {nodeup, _, _}
messages.
I use net_kernel:monitor_nodes( true, [{node_type, all}])
in the OTP server's init/1
function.
Also, if I start this OTP app as an application, and receive X->X
done. on the shell, and then kill the companion node, I do get a {nodedown, _, _ }
on the shell !
So why isn't handle_info getting the message if the shell is ?
Thanks !