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

[dbnode] Add IndexResults from subsequent bootstrap runs #4193

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

linasm
Copy link
Collaborator

@linasm linasm commented Feb 25, 2023

dbnode was not updating in-memory index state to contain the blocks that have been peer bootstrapped. This was the case because peer bootstrapping is the second bootstrapper run (after filesystem bootstrapper), and there was no code to add the peer-bootstrapped index blocks into final bootstrap result. This PR adds that piece of code to src/dbnode/storage/bootstrap/bootstrapper/base.go.

Copy link
Collaborator

@Antanukas Antanukas left a comment

Choose a reason for hiding this comment

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

Nice find, tnx.

@linasm linasm merged commit 6a7a5f2 into master Mar 1, 2023
@linasm linasm deleted the linasm/add-index-results-from-subsequent-runs branch March 1, 2023 16:31
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.

2 participants