Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/hashicorp/raft from 1.3.5 to 1.7.1 #715

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 29, 2024

Bumps github.com/hashicorp/raft from 1.3.5 to 1.7.1.

Release notes

Sourced from github.com/hashicorp/raft's releases.

v1.7.1

This patch release fixes two potential issues with Pre-Vote which was added in 1.7.0. One of these has been observed in a single deployed instance but we've been unable to replicate the exact conditions so impact is difficult to assess. Out of an abundance of caution we strongly recommend all 1.7.0 users upgrade to 1.7.1 to avoid this issue occurring.

  1. #605 Fixes the observed issue where a node looses leadership but is unable to get pre-votes accepted due to followers thinking it's still the leader. This was an implementation bug.
  2. #609 fixes a theoretical issue (not come up with an actual reproduction yet) where a very specific sequence of pre-votes could artificially prevent cluster followers from holding elections even though there is no active leader succeeding to get a quorum of pre-vote responses.

v1.7.0 (June 6th, 2024)

CHANGES

  • Raft multi version testing GH-559

IMPROVEMENTS

  • Raft pre-vote extension implementation, activated by default. GH-530

BUG FIXES

  • Fix serialize NetworkTransport data race on ServerAddr(). GH-591

v1.6.1 (January 8th, 2024)

CHANGES

IMPROVEMENTS

BUG FIXES

1.6.0 (November 15th, 2023)

CHANGES

  • Upgrade hashicorp/go-msgpack to v2, with go.mod upgraded from v0.5.5 to v2.1.1. GH-577

    go-msgpack v2.1.1 is by default binary compatible with v0.5.5 ("non-builtin" encoding of time.Time), but can decode messages produced by v1.1.5 as well ("builtin" encoding of time.Time).

    However, if users of this libary overrode the version of go-msgpack (especially to v1), this could break compatibility if raft nodes are running a mix of versions.

    This compatibility can be configured at runtime in Raft using NetworkTransportConfig.MsgpackUseNewTimeFormat -- the default is false, which maintains compatibility with go-msgpack v0.5.5, but if set to true, will be compatible with go-msgpack v1.1.5.

IMPROVEMENTS

  • Push to notify channel when shutting down. GH-567
  • Add CommitIndex API GH-560
  • Document some Apply error cases better GH-561

... (truncated)

Changelog

Sourced from github.com/hashicorp/raft's changelog.

UNRELEASED

1.7.0 (June 5th, 2024)

CHANGES

  • Raft multi version testing GH-559

IMPROVEMENTS

  • Raft pre-vote extension implementation, activated by default. GH-530

BUG FIXES

  • Fix serialize NetworkTransport data race on ServerAddr(). GH-591

1.6.1 (January 8th, 2024)

CHANGES

  • Add reference use of Hashicorp Raft. GH-584
  • [COMPLIANCE] Add Copyright and License Headers. GH-580

IMPROVEMENTS

  • Bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.2. GH-583

BUG FIXES

  • Fix rare leadership transfer failures when writes happen during transfer. GH-581

1.6.0 (November 15th, 2023)

CHANGES

  • Upgrade hashicorp/go-msgpack to v2, with go.mod upgraded from v0.5.5 to v2.1.1. GH-577

    go-msgpack v2.1.1 is by default binary compatible with v0.5.5 ("non-builtin" encoding of time.Time), but can decode messages produced by v1.1.5 as well ("builtin" encoding of time.Time).

    However, if users of this libary overrode the version of go-msgpack (especially to v1), this could break compatibility if raft nodes are running a mix of versions.

    This compatibility can be configured at runtime in Raft using NetworkTransportConfig.MsgpackUseNewTimeFormat -- the default is false, which maintains compatibility with go-msgpack v0.5.5, but if set to true, will be compatible with go-msgpack v1.1.5.

IMPROVEMENTS

  • Push to notify channel when shutting down. GH-567
  • Add CommitIndex API GH-560
  • Document some Apply error cases better GH-561

BUG FIXES

... (truncated)

Commits
  • 42d3446 Do not update leader last-contact when granting a pre-vote request (#609)
  • 185ae2e Bump github.com/hashicorp/go-msgpack/v2 from 2.1.1 to 2.1.2 (#589)
  • 497108f Fix pre-vote implementation where leader's pre-vote is rejected (#605)
  • 831ddf8 remove flaky with no purpose test TestRaft_VoteWithNoIDNoAddr (#607)
  • a5db400 Merge pull request #590 from hashicorp/compliance/add-headers
  • 82c0bf8 [COMPLIANCE] Add Copyright and License Headers
  • c923709 udpate changelogs (#596)
  • d5f5737 do not check for candidate state as it's a transient state (#597)
  • 181475c Raft pre-vote extension implementation (#530)
  • 341ea38 Merge pull request #591 from moogacs/main
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hashicorp/raft](https://github.com/hashicorp/raft) from 1.3.5 to 1.7.1.
- [Release notes](https://github.com/hashicorp/raft/releases)
- [Changelog](https://github.com/hashicorp/raft/blob/main/CHANGELOG.md)
- [Commits](hashicorp/raft@v1.3.5...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/raft
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 29, 2024
Copy link
Author

dependabot bot commented on behalf of github Aug 29, 2024

The following labels could not be found: pr/no-changelog.

Copy link

This pull request has been automatically flagged for inactivity because it has not been acted upon in the last 60 days. It will be closed if no new activity occurs in the next 30 days. Please feel free to re-open to resurrect the change if you feel this has happened by mistake. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code meta/stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants