Skip to content

Tags: luiz-m-affonso/raft

Tags

v1.3.9

Toggle v1.3.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Thread saturation metrics 📈 (hashicorp#489)

Adds metrics suggested in hashicorp#488, to record the percentage of time the
main and FSM goroutines are busy with work vs available to accept new
work, to give operators an idea of how close they are to hitting
capacity limits.

v1.3.8

Toggle v1.3.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
add back deprecated field `Leader` to the `LeaderObservation` struct (h…

…ashicorp#500)

v1.3.7

Toggle v1.3.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add HeartbeatTimeout and ElectionTimeout to reloadable config. (hashi…

…corp#496)

v1.3.6

Toggle v1.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
a NonVoter node should never try to bootstrap (hashicorp#492)

This is a follow-up to hashicorp#483

v1.3.5

Toggle v1.3.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Snapshot restore progress (hashicorp#490)

When restoring a snapshot (on startup, installed from the leader, or during recovery) the logs are extremely terse. There are typically bookend messages indicating that a restore is going to happen, and that it is complete, but there's a big dead space in the middle.

For small snapshots this is probably fine, but for larger multi-GB snapshots this can stretch out and can be unnerving as an operator to know if it's stuck or still making progress.

This PR adjusts the logging to indicate a simple progress log message every 10s about overall completion in bytes-consumed.

v1.3.4

Toggle v1.3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Leadership transfer gaps (hashicorp#487)

* setLeadershipTransferInProgress before starting the transfer go routine to avoid a race.

* do not transition to follower state in a middle of a leadership transfer

v1.3.3

Toggle v1.3.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
a NonVoter node should never be able to transition to a Candidate sta…

…te (hashicorp#483)

* only voters can transition to a `Candidate` state

* clarify log message and remove not used func `inConfig`

* add tests to make sure leader transition happen as expected when the `HeartbeatTimeout` is reached

* fix race

v1.2.1

Toggle v1.2.1's commit message
add missing import

v1.1.4

Toggle v1.1.4's commit message
add retraction to version 1.1.3