You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be possible to enable the support of debug breakpoints in running akka cluster nodes.
We would resolve two major points for it
Extend the Akka.Cluster messages and the node-status to include paused nodes.
This new node-status would not trigger dissociation and buffer flushes until deadline or resume
Find a possibility to execute code before and after a breakpoint gets triggered
Simply put, the node that gets debug-hold should notify the cluster that it is paused until deadline.
After the debug-resume the node informs the cluster to recover its status and transmit all buffered messages.
If point 2 is not possible to implement,
an other possibility would be to notify the cluster that a debugger attached to the node-process or detached for it.
The cluster could then react differently when a node with attached debugger gets unreachable.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I think it would be possible to enable the support of debug breakpoints in running akka cluster nodes.
We would resolve two major points for it
This new node-status would not trigger dissociation and buffer flushes until deadline or resume
Simply put, the node that gets debug-hold should notify the cluster that it is paused until deadline.
After the debug-resume the node informs the cluster to recover its status and transmit all buffered messages.
If point 2 is not possible to implement,
an other possibility would be to notify the cluster that a debugger attached to the node-process or detached for it.
The cluster could then react differently when a node with attached debugger gets unreachable.
Beta Was this translation helpful? Give feedback.
All reactions