-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raft: wait for cluster readiness on each added node
Somehow concurrent join creates deadlock; raft event loop stops with state: node 1: term 2, leader 1 node 2: term 2, leader 1 node 3: term 2, leader 3 Also: * changed polling to less cpu-expensive * changed back raft tick because on slow machines it leads to reelections Signed-off-by: Alexander Morozov <[email protected]>
- Loading branch information
Showing
1 changed file
with
44 additions
and
42 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