-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a race condition in node registration. (#847)
Without this fix, we could register first a node that is not meant to be a primary. The node then is assigned REPORT_LSN, but there is no primary in the group yet, and now, all the other nodes fail to register because there is already a node registered, but there is no primary...
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 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