swarmkit
swarmkit copied to clipboard
Leader election takes a surprisingly long time
Expected behavior The voting/election process should be fairly quick and effective in a 5-manager setup. Losing a non-leader should be a graceful change, since the non-leader isn't a leader.
Actual behavior Bug 1: It can take up to a few minutes for 5 manages to elect a new leader.
Bug 2: Losing a non-leader (a manager that isn't in a leader state) causes a re-election. Is this intended?