raft v1.2.0 Release Notes

Release Date: 2020-10-05 // over 3 years ago
  • ๐Ÿ‘Œ IMPROVEMENTS

    • โœ‚ Remove StartAsLeader configuration option [GH-364]
    • ๐Ÿ‘ Allow futures to react to Shutdown() to prevent a deadlock with takeSnapshot() [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

    • โœ… Make LeaderCh always deliver the latest leadership transition [GH-384]
    • โšก๏ธ Handle updating an existing peer in startStopReplication [GH-419]