* send terminationMessage to singleton when leaving last, #21592 * When leaving last node, i.e. no newOldestOption, the manager was just stopped. The change is to send the terminationMessage also in this case and wait until the singleton actor is terminated before stopping the manager. * Also changed so that the singleton is stopped immediately when cluster has been terminated when last node is leaving, i.e. no newOldestOption. Previously it retried until maxTakeOverRetries before stopping. * More comprehensive test of this scenario in ClusterSingletonManagerLeaveSpec * increase test timeout |
||
|---|---|---|
| .. | ||
| src | ||
| build.sbt | ||