whatyouhide/xandra

Xandra EXITs when node to control connection is down

Closed this issue · 2 comments

When I shut down the node with control connection, Xandra just exits with:

[debug] xandra_address=172.28.32.78 xandra_port=9042 module=Xandra.Telemetry  Control connection disconnected
** (EXIT from #PID<0.341.0>) shell process exited with reason: shutdown: :closed

@whatyouhide We also seem to get lots of:

 received unexpected message in handle_info/2: {#Reference<0.1483015470.4140040194.232506>, {:ok, #PID<0.2550.0>}}

from the caller process (which is a genserver in our case) when the control connection is shut down.

Good catch @harunzengin, fixed 🙃