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

update raft to v1.3.8 #12844

Merged
merged 8 commits into from Apr 25, 2022
Merged

update raft to v1.3.8 #12844

merged 8 commits into from Apr 25, 2022

Conversation

dhiaayachi
Copy link
Contributor

@dhiaayachi dhiaayachi commented Apr 22, 2022

This update raft to v1.3.7
In this raft release HeartbeatTimeout and ElectionTimeout became reloadable config, so Consul needed to be tweaked to only reload those configs only when the given values are within the acceptable range.
Note that this also introduce hashicorp/raft#477

@github-actions github-actions bot added the pr/dependencies PR specifically updates dependencies of project label Apr 22, 2022
@@ -0,0 +1,3 @@
```release-note:bug
raft: upgrade to v1.3.6 which fixes a bug where non cluster member can still be able to participate in an election.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be v1.3.7?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, I made a typo writing it

@@ -0,0 +1,3 @@
```release-note:bug
raft: upgrade to v1.3.6 which fixes a bug where non cluster member can still be able to participate in an election.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
raft: upgrade to v1.3.6 which fixes a bug where non cluster member can still be able to participate in an election.
raft: upgrade to v1.3.7 which fixes a bug where non cluster member can still be able to participate in an election.

@eculver
Copy link
Contributor

eculver commented Apr 22, 2022

I'm curious, what are the implications of making these fields "reloadable"?

(edit) I missed that part of the description. I'm now wondering if something needs to change in Consul to validate updates to these values?

@eculver
Copy link
Contributor

eculver commented Apr 22, 2022

Also, it looks like v1.3.7 includes hashicorp/raft#477 which may be worth describing in the PR description for posterity.

Copy link
Member

@mkeeler mkeeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved assuming the changelog is updated as Evan pointed out.

@dhiaayachi dhiaayachi changed the title update raft to v1.3.7 update raft to v1.3.8 Apr 25, 2022
@dhiaayachi dhiaayachi merged commit b83a790 into main Apr 25, 2022
@dhiaayachi dhiaayachi deleted the raft_1.3.7 branch April 25, 2022 14:19
@hc-github-team-consul-core
Copy link
Contributor

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/650650.

dhiaayachi added a commit that referenced this pull request Apr 25, 2022
* update raft to v1.3.7

* add changelog

* fix compilation error

* fix HeartbeatTimeout

* fix ElectionTimeout to reload only if value is valid

* fix default values for `ElectionTimeout` and `HeartbeatTimeout`

* fix test defaults

* bump raft to v1.3.8
@kisunji kisunji changed the title update raft to v1.3.8 update raft to v1.3.7 Oct 27, 2022
@kisunji kisunji changed the title update raft to v1.3.7 update raft to v1.3.8 Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/dependencies PR specifically updates dependencies of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants