raft v1.2.0 Release Notes
Release Date: 2020-10-05 // 6 months ago-
๐ IMPROVEMENTS
- โ Remove
StartAsLeader
configuration option [GH-364] - ๐ Allow futures to react to
Shutdown()
to prevent a deadlock withtakeSnapshot()
[GH-390] - Prevent non-voters from becoming eligible for leadership elections [GH-398]
- โ Remove an unneeded
io.Copy
from snapshot writes [GH-399] - โ Log decoded candidate address in
duplicate requestVote
warning [GH-400] - Prevent starting a TCP transport when IP address is
nil
[GH-403] - Reject leadership transfer requests when in candidate state to prevent indefinite blocking while unable to elect a leader [GH-413]
- โ Add labels for metric metadata to reduce cardinality of metric names [GH-409]
- โ Add peers metric [GH-413]
๐ BUG FIXES
- โ Remove
Previous changes from v1.1.2
-
๐ FEATURES
- ๐ Improve FSM apply performance through batching. Implementing the
BatchingFSM
interface enables this new feature [GH-364] - โ Add ability to obtain Raft configuration before Raft starts with GetConfiguration [GH-369]
๐ IMPROVEMENTS
- โ Remove lint violations and add a
make
rule for running the linter. - Replace logger with hclog [GH-360]
- ๐ง Read latest configuration independently from main loop [GH-379]
๐ BUG FIXES
- ๐ Improve FSM apply performance through batching. Implementing the