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

[4.0 -> main] Fix for loading snapshot with empty block log #1298

Merged
merged 6 commits into from
Jun 14, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Jun 14, 2023

When running with an empty block log, --block-log-retain-blocks 0, it was not possible to load a snapshot. Implement empty_block_log::reset to correctly handle provided first_block_num.

Merges release/4.0 into main including #1285

Resolves #1228

@heifner heifner requested review from greg7mdp and linh2931 June 14, 2023 19:36
@heifner heifner added the OCI Work exclusive to OCI team label Jun 14, 2023
@heifner heifner merged commit 804d3a4 into main Jun 14, 2023
@heifner heifner deleted the GH-1228-empty-block-log-main branch June 14, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Starting node from a snapshot fails if the node has no blocks
3 participants