Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix singleton issue when leaving several nodes, #27487 * When leaving several nodes at about the same time the new singleton could be started before previous had been completely stopped. * Found two possible ways this could happen. * Acting on MemberRemoved that is emitted when the self cluster node is shutting down. * The HandOverDone confirmation when in Younger state, but that node is also Leaving so could be seen as Exiting from a third node that is the next singleton. * keep track of all previous oldest, not only the latest * Option => List * Otherwise in BecomingOldest it could transition to Oldest when the previous oldest was removed even though the previous-previous wasn't removed yet * fix failure in ClusterSingletonRestart2Spec * OldestChanged was not emitted when Exiting member was removed * The initial membersByAge must also contain Leaving, Exiting members (cherry picked from commit ee18856)
- Loading branch information
Showing
3 changed files
with
287 additions
and
53 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
akka-cluster-tools/src/main/mima-filters/2.5.x.backwards.excludes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# Protobuf 3 | ||
ProblemFilters.exclude[Problem]("akka.cluster.client.protobuf.msg.*") | ||
ProblemFilters.exclude[Problem]("akka.cluster.pubsub.protobuf.msg.*") | ||
|
||
# #27487 Singleton issue when several nodes leaving | ||
ProblemFilters.exclude[Problem]("akka.cluster.singleton.ClusterSingletonManager#Internal#OldestChangedBuffer*") | ||
ProblemFilters.exclude[Problem]("akka.cluster.singleton.ClusterSingletonManager#Internal#YoungerData.*") | ||
ProblemFilters.exclude[Problem]("akka.cluster.singleton.ClusterSingletonManager#Internal#BecomingOldestData.*") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.