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

Save cached state summaries on Stop() #7988

Merged
merged 4 commits into from
Nov 30, 2020

Conversation

terencechain
Copy link
Member

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?
One thing i realized as I was auditing state summary usages is that we do not save cached state summary objects upon shutting down beacon node. This triggers an asymmetric behavior where the beacon block is in the DB but state summary object is not in the DB on the very next restart

@terencechain terencechain added the Ready For Review A pull request ready for code review label Nov 28, 2020
@terencechain terencechain self-assigned this Nov 28, 2020
@terencechain terencechain requested a review from a team as a code owner November 28, 2020 18:14
@terencechain terencechain added this to the v1.1.0 milestone Nov 28, 2020
nisdas
nisdas previously approved these changes Nov 28, 2020
@prestonvanloon
Copy link
Member

Tests fail

@rauljordan rauljordan changed the base branch from master to develop November 30, 2020 21:39
@rauljordan rauljordan merged commit 3af7809 into develop Nov 30, 2020
@delete-merged-branch delete-merged-branch bot deleted the save-state-summaries-on-close branch November 30, 2020 23:08
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.

None yet

4 participants