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
#21178) * Dont allow empty memberlist on cluster id changes When cluster id changed we were resetting member list with an empty memberlist. It turned out that there are implementations that assumes it will never be empty. Following test failure is an example of it. #20264 Instead of clearing the memberlist on cluster id change, we are keeping the cluster id as part of the latest snapshot to be able to fire correct events. Note that clearing memberlist on cluster id change was introduced as a fix to #18245 So it is important not to break related ClientHotRestartTest fixes #20264 * Refactor ClusterService to make it unittestable Move getClient API out to reduce dependency to HazelcastInstanceImpl * Refactor: ClusterService to be able to unittest ClusterService does not depend on connection manager and client anymore. * Add unittest for ClientClusterServiceImpl Also revised the fix to cover blue/green case as well. ClientClusterService will not serve empty memberlist even when blue/green is happening. (cherry picked from commit 4d6fc11) Add method to ClientClusterService for enterprise tests (#21169) (cherry picked from commit 1c769a2)
- Loading branch information
sancar
committed
Apr 12, 2022
1 parent
8da93f0
commit 8b696b2
Showing
22 changed files
with
808 additions
and
392 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
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
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.