Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition for cluster startup
Sometimes the client would connect to the first container before the second one registers in the cluster. Add a condition to wait for both nodes to be registered when starting the containers.
- Loading branch information
1 parent
10ff2c2
commit f5809dc
Showing
1 changed file
with
10 additions
and
5 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