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

Allow node to restart after halt config trigger #5352

Merged
merged 5 commits into from
Dec 3, 2019

Conversation

alexanderbez
Copy link
Contributor

@alexanderbez alexanderbez commented Dec 2, 2019

Return the commit ID hash even when gracefully halting a node per configuration which will allow the node to successfully restart and continue processing blocks (if the config has been reset or set to a more distant value).

closes: #5350


  • 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 tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md

  • Re-reviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

Copy link
Contributor

@alessio alessio left a comment

Choose a reason for hiding this comment

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

ACK (yet untested)

@codecov
Copy link

codecov bot commented Dec 2, 2019

Codecov Report

Merging #5352 into master will increase coverage by 0.01%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master    #5352      +/-   ##
==========================================
+ Coverage   54.79%   54.81%   +0.01%     
==========================================
  Files         311      311              
  Lines       18386    18385       -1     
==========================================
+ Hits        10075    10077       +2     
+ Misses       7540     7537       -3     
  Partials      771      771

Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

utACK

@fedekunze fedekunze merged commit b862e27 into master Dec 3, 2019
@fedekunze fedekunze deleted the bez/5350-fix-halt-config branch December 3, 2019 09:24
xiangjianmeng pushed a commit to xiangjianmeng/cosmos-sdk that referenced this pull request Dec 18, 2019
* Allow node to restart after halt config trigger

* Update godoc

* Update documentation on halt config
alexanderbez added a commit that referenced this pull request Dec 18, 2019
* Allow node to restart after halt config trigger

* Update godoc

* Update documentation on halt config
@alexanderbez alexanderbez mentioned this pull request Dec 18, 2019
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errror when restarting a node to sync blocks after setting halt-height in app.toml
3 participants