Changelog History
-
v1.3.0 Changes
April 22, 2021👌 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
-
v1.2.0 Changes
October 05, 2020👌 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
-
v1.1.2 Changes
January 17, 2020🔋 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
-
v1.1.1 Changes
July 23, 2019 -
v1.1.0 Changes
May 23, 2019 -
v1.0.1 Changes
April 12, 2019 -
v1.0.0 Changes
October 03, 2017👀 v1.0.0 takes the changes that were staged in the library-v2-stage-one branch. This version manages server identities using a UUID, so introduces some breaking API changes. It also versions the Raft protocol, and requires some special steps when interoperating with Raft servers running older versions of the library (see the detailed comment in config.go about version compatibility). You can reference https://github.com/hashicorp/consul/pull/2222 for an idea of what was required to port Consul to these new interfaces.
-
v0.1.0 Changes
September 29, 2017v0.1.0 is the original stable version of the library that was in master and has been maintained with no breaking API changes. This was in use by Consul prior to version 0.7.0.