Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Tags: Matrix-N/raft

Tags

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

v1.3.2

Toggle v1.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Forbid removed node from being a `Candidate` (hashicorp#476)

* modify `TestRaft_RemoveFollower` to check removed node state

* add test to verify that a removed node is not able to vote

* do not transition to `Candidate` state if not part of stable configuration

* add some comments to the tests

* do not return if not transitioning state

* add wait loop to test

* remove test related to removed node voting

* check `inConfig` instead of `hasVote`

* updating warn log message to be more accurate

v1.3.1

Toggle v1.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request hashicorp#465 from hashicorp/dnephin/fix-panic-in-…

…decodePeers

Handle installSnapshot decodePeers error without a panic

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update Changelog (hashicorp#464)