Skip to content

Commit

Permalink
Akka downing strategy, restart on quarantine/shutdown.
Browse files Browse the repository at this point in the history
Down unreachable members if cluster membership is stable and majority
reachable.

Detect if this member has been quarantined, e.g. downed before
reconnect, and restart actor system so can rejoin cluster.

Detect if cluster has been shut down, e.g. downed after reconnect,
and restart.

This improves resilience in some cases where multiple members fail and a
strict subset of those attempt to rejoin.
  • Loading branch information
andrewkerr9000 committed Nov 30, 2018
1 parent ab51ca1 commit efd2df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public State state()
return state;
}

enum State
protected enum State
{
PRE,
IDLE,
Expand Down

0 comments on commit efd2df5

Please sign in to comment.