-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where election timeout task was not being properly cleaned-up.
This resulted in a scenario where: - a follower node gets elected. - it fails to fully clean-up its timeout task (cancelles it but doesn't `.take()` the Option's value). - next time the node becomes a follower, it fails to spawn a new election timeout task. Closes #41
- Loading branch information
Showing
1 changed file
with
12 additions
and
13 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