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

validator: skip health check #33568

Merged
merged 2 commits into from
Oct 8, 2023

Conversation

diman-io
Copy link
Contributor

@diman-io diman-io commented Oct 6, 2023

Problem

Issues with getHealth are known: #16957 And I believe that the issue will be fundamentally resolved.
But right now, I'm concerned about updating the validator using wait-for-restart-window and exit.
There are already a lot of messages in the chats for 1.16.
I propose this tiny change that would allow bypassing the health check.

I sincerely hope for v1.16 and v1.17

Summary of Changes

Added the --skip-health-check flag for the wait-for-restart-window and exit commands

Fixes #33553

@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #33568 (36045c5) into master (c588f25) will decrease coverage by 0.1%.
The diff coverage is 0.0%.

@@            Coverage Diff            @@
##           master   #33568     +/-   ##
=========================================
- Coverage    81.7%    81.7%   -0.1%     
=========================================
  Files         807      807             
  Lines      218283   218287      +4     
=========================================
- Hits       178485   178467     -18     
- Misses      39798    39820     +22     

validator/src/main.rs Outdated Show resolved Hide resolved
Copy link
Member

@mvines mvines left a comment

Choose a reason for hiding this comment

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

lgtm, thanks

@mvines mvines merged commit 7afb11f into solana-labs:master Oct 8, 2023
31 checks passed
@diman-io
Copy link
Contributor Author

diman-io commented Oct 9, 2023

Hi @mvines, no chance for v1.16 v1.17 ?

@mvines mvines added the v1.17 PRs that should be backported to v1.17 label Oct 9, 2023
@mvines
Copy link
Member

mvines commented Oct 9, 2023

v1.17 seems fine to me, it's not really a critical bug fix so i don't feel like a v1.16 backport is appropriate, even though I appreciate this is a low risk change

mergify bot pushed a commit that referenced this pull request Oct 9, 2023
* validator: skip health check

* keep `healthy` as a boolean

(cherry picked from commit 7afb11f)
mvines pushed a commit that referenced this pull request Oct 13, 2023
validator: skip health check (#33568)

* validator: skip health check

* keep `healthy` as a boolean

(cherry picked from commit 7afb11f)

Co-authored-by: DimAn <diman@diman.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need:merge-assist v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

validator: default health check slot distance
2 participants