Aten to monitor the current node #36
-
Describe the bugHi All I'm trying to use Reproduction steps$ rebar3 shell
[...]
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling wa8_rest
===> Compiling wa8
===> Compiling wa8_perf
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:64] [jit:ns] [dtrace]
Eshell V14.0.2 (press Ctrl+G to abort, type help(). for help)
===> Booted woo
===> Booted sasl
===> Booted aten
(woo@127.0.0.1)1> node().
'[email protected]'
(woo@127.0.0.1)2> aten:register(node()).
ok
(woo@127.0.0.1)3> flush().
Shell got {node_event,'[email protected]',down} Strange that I'm getting a Expected behaviorI should get an Shell got {node_event,'[email protected]',up} Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Please see these issues for an explanation of this behavior: |
Beta Was this translation helpful? Give feedback.
-
@kjnilsson this would be great. Many thanks |
Beta Was this translation helpful? Give feedback.
-
@kjnilsson Exactly. Receiving the same events twice means that aten's users have to handle this case carefully by adding an extra logic. Please let me know whatever you come up with so I can give a go. Thanks |
Beta Was this translation helpful? Give feedback.
-
@Zabrane |
Beta Was this translation helpful? Give feedback.
Please see these issues for an explanation of this behavior: