Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #90 Cluster manager is corrupted after merging of hazelcast par…
…tition The original HZ member uuid is saved as a cluster member attribute. Consequently, even if HZ changes it during partition merging, HAManager and ClusteredEventBus will keep using the same original uuid. Note that when member added event is handled by existing cluster nodes, the member attribute may not be saved yet. In this case, it is safe to use member uuid (at this stage, the member uuid and member attribute are equal).
- Loading branch information
1 parent
f4e1ad8
commit a5c0c68
Showing
3 changed files
with
40 additions
and
94 deletions.
There are no files selected for viewing
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
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
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
a5c0c68
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OMG
it breaks supporting smart client feature.
from now on all consumers of eventbus and shareddata must be a member of cluster.
is this right?