Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMPROVED] Leadership transfer (#4145)
When doing leadership transfer stepdown as soon as we know we have sent the EntryLeaderTransfer entry. Delaying could allow something to be sent from the old leader which would cause the new leader to bail on being a candidate even though it would have gotten all the votes. Signed-off-by: Derek Collison <derek@nats.io>
- Loading branch information