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

RPC: healthz should return an error when the node is syncing #7890

Merged
merged 4 commits into from
Nov 22, 2020

Conversation

prestonvanloon
Copy link
Member

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

The beacon node should not report healthy when syncing.

Which issues(s) does this PR fix?

N/A

Other notes for review

terencechain
terencechain previously approved these changes Nov 21, 2020
@prestonvanloon
Copy link
Member Author

Some additional context: this check for this.syncChecker.Syncing() is on many RPC requests. As such, this service should ensure that healthz is aware of syncing status.

terencechain
terencechain previously approved these changes Nov 21, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 71ec919 into master Nov 22, 2020
@delete-merged-branch delete-merged-branch bot deleted the healthz branch November 22, 2020 00:29
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.

None yet

2 participants