raft v1.3.0 Release Notes
Release Date: 2021-04-22 // almost 2 years ago-
๐ IMPROVEMENTS
- โ Added metrics for
oldestLogAge
andlastRestoreDuration
to monitor capacity issues that can cause unrecoverable cluster failure [GH-452][GH-454] - ๐ Made
TrailingLogs
,SnapshotInterval
andSnapshotThreshold
reloadable at runtime using a newReloadConfig
method. This allows recovery from cases where there are not enough logs retained for followers to catchup after a restart. [GH-444] - Inclusify the repository by switching to main [GH-446]
- โ Add option for a buffered
ApplyCh
ifMaxAppendEntries
is enabled [GH-445] - โ Add string to
LogType
for more human readable debugging [GH-442] - โ Extract fuzzy testing into its own module [GH-459]
๐ BUG FIXES
- โก๏ธ Update LogCache
StoreLogs()
to capture an error that would previously cause a panic [GH-460]
- โ Added metrics for
Previous changes from v1.2.0
-
๐ 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