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

Backport: Change the default consensus.timeout_commit to 1500ms. (#1600) #1601

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

SpicyLemon
Copy link
Contributor

@SpicyLemon SpicyLemon commented Jun 21, 2023

Description

Backport of #1600 to release/v1.16.x.


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

* Change the DefaultConsensusTimeoutCommit to 1500ms.

* Update the pre-upgrade command to change all consensus.timeout_commit settings to 1500ms.

* Update the log warning about the consensus.timeout_commit value.

* Add changelog entry.

* Fix some broken unit tests.

* Make those tests I just fixed more robust. They now just use the provconfig.DefaultConsensusTimeoutCommit value instead of a hard-coded value.

* Add some unit tests on the config warner.
@SpicyLemon SpicyLemon requested a review from a team as a code owner June 21, 2023 22:46
@SpicyLemon SpicyLemon enabled auto-merge (squash) June 21, 2023 23:03
@SpicyLemon SpicyLemon merged commit cf436c0 into release/v1.16.x Jun 21, 2023
40 checks passed
@SpicyLemon SpicyLemon deleted the dwedul/bp-1600-to-1.16 branch June 21, 2023 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants