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

Fix panic issues on beacon node shutdown #7625

Merged
merged 3 commits into from Oct 23, 2020
Merged

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Oct 23, 2020

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Fixes a few panics and allows services to gracefully recover when shutting down the beacon node.

Which issues(s) does this PR fix?

Fixes #6924

Other notes for review

N/A

@rkapka rkapka requested a review from a team as a code owner October 23, 2020 10:42
@rkapka rkapka added the Ready For Review A pull request ready for code review label Oct 23, 2020
Copy link
Member

@nisdas nisdas left a comment

Choose a reason for hiding this comment

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

Can you double check and ensure all the services actually cancel their contexts too ?

@codecov
Copy link

codecov bot commented Oct 23, 2020

Codecov Report

Merging #7625 into master will increase coverage by 0.00%.
The diff coverage is 25.00%.

@@           Coverage Diff           @@
##           master    #7625   +/-   ##
=======================================
  Coverage   61.87%   61.88%           
=======================================
  Files         422      422           
  Lines       29802    29717   -85     
=======================================
- Hits        18441    18389   -52     
+ Misses       8429     8412   -17     
+ Partials     2932     2916   -16     

@rkapka
Copy link
Contributor Author

rkapka commented Oct 23, 2020

Can you double check and ensure all the services actually cancel their contexts too ?

I confirm this is the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when beacon gets shut down
2 participants