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

Improve splitstore warmup #6867

Merged
merged 4 commits into from
Jul 26, 2021
Merged

Improve splitstore warmup #6867

merged 4 commits into from
Jul 26, 2021

Conversation

vyzo
Copy link
Contributor

@vyzo vyzo commented Jul 25, 2021

While testing the check command in #6811 it was observed (to my great surprise) that my discard node actually has some cold references, dating back to the original snapshot.
So it appears that the warmup is not capturing all references that it should.

This improves the situation by traversing a full finality worth of state during warmup.

@vyzo vyzo added epic/splitstore team/ignite Issues and PRs being tracked by Team Ignite at Protocol Labs labels Jul 25, 2021
@vyzo vyzo marked this pull request as ready for review July 25, 2021 10:17
@vyzo vyzo requested a review from a team as a code owner July 25, 2021 10:17
@vyzo vyzo requested review from magik6k and raulk July 25, 2021 10:17
Copy link
Member

@raulk raulk left a comment

Choose a reason for hiding this comment

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

This is probably safer in the face of reorgs immediately after initialization.

blockstore/splitstore/splitstore_warmup.go Outdated Show resolved Hide resolved
@vyzo
Copy link
Contributor Author

vyzo commented Jul 26, 2021

rebased on master and added undefrlow check.

@vyzo vyzo merged commit ef24593 into master Jul 26, 2021
@vyzo vyzo deleted the fix/splitstore-warmup branch July 26, 2021 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/ignite Issues and PRs being tracked by Team Ignite at Protocol Labs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants