-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NRG: Write peer state/term and vote files inline (#5151)
This should avoid some potential race conditions from scheduling persistence of the peer state and term and vote files asynchronously. It also gets rid of another goroutine per Raft group which is a nice side effect. Signed-off-by: Neil Twigg <[email protected]>
- Loading branch information
Showing
1 changed file
with
25 additions
and
62 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