[erlang-questions] net_kernel:monitor_nodes and DOWN message guarantees

José Valim jose.valim@REDACTED
Mon Nov 7 13:11:24 CET 2016


Given a process in node 'A' that calls net_kernel:monitor_nodes() and a
node 'B'.

* If node 'B' reconnects intermittently, is it guaranteed {nodedown,
'B'} is always delivered **before** an eventual {nodeup, 'B'}?

* If the same process in node 'A' that calls net_kernel:monitor_nodes()
also monitors a pid in node 'B', is it guaranteed the 'DOWN' messages for
such pid are delivered **before** {nodedown, 'B'}?

I am in particular looking for the transitive property that if A monitors a
process in B and B reconnects, the 'DOWN' messages are delivered before
nodeup.

Thank you,

*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161107/54557030/attachment.htm>


More information about the erlang-questions mailing list