-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sched: always set the leader election parameters
Because of a overlook, we used to set the leader election params only if replicas > 1 was requested. This left the key *and default* corner case of replicas=1 with compiled in defaults, which are questionable at best and most likely harmful for our use case. Make sure to always set sane parameters, obviously taking into account the user desires from the spec (Replicas field). Add more logs to make troubleshooting easier Signed-off-by: Francesco Romani <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
7 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