You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(raft): deduplicate votes by peer ID and make election timeout configurable
Use a HashSet keyed by peer ID in handle_request_vote_response so that
duplicate grants from the same peer cannot inflate the vote count and
cause premature leader promotion.
Add election_timeout_min/max fields to ClusterConfig and propagate them
through bootstrap, join, and restart paths. Expose matching fields in
ClusterTransportTuning (default 2–5 s) and wire them into MultiRaft so
every startup path honours the configured window rather than using a
hardcoded constant. Adjust network tuning defaults from 60/120 s to 2/5 s
to match real-world cluster behaviour.
0 commit comments