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

Starting node from a snapshot fails if the node has no blocks #1228

Closed
RalfWeinand opened this issue Jun 3, 2023 · 1 comment · Fixed by #1285, #1298, #1299 or #1304
Closed

Starting node from a snapshot fails if the node has no blocks #1228

RalfWeinand opened this issue Jun 3, 2023 · 1 comment · Fixed by #1285, #1298, #1299 or #1304
Assignees
Labels
bug Something isn't working 👍 lgtm OCI Work exclusive to OCI team
Milestone

Comments

@RalfWeinand
Copy link

We just noticed an issue with Leap v4.0.1 when we created a new Telos Testnet BP node. Starting it from a snapshot (without any blocks in the blocks folder) resulted in this error.

telegram-cloud-photo-size-5-6329874667602556377-y

We tried different snapshots, and different config.ini settings & start parameters (e.g. --delete-all-blocks) but nothing helped.

We then downgraded to Leap v3.2.3 and nodeos started from the same snapshot without blocks without this error.

@BenjaminGormanPMP BenjaminGormanPMP added this to the Leap 4.0.2 milestone Jun 8, 2023
@greg7mdp greg7mdp self-assigned this Jun 12, 2023
@heifner heifner added the bug Something isn't working label Jun 13, 2023
@greg7mdp
Copy link
Contributor

@RalfWeinand can you share the command and config.ini that you use to start nodeos?

@heifner heifner assigned heifner and unassigned greg7mdp Jun 13, 2023
@heifner heifner added the OCI Work exclusive to OCI team label Jun 13, 2023
@heifner heifner moved this from Todo to In Progress in Team Backlog Jun 13, 2023
heifner added a commit that referenced this issue Jun 14, 2023
@heifner heifner linked a pull request Jun 14, 2023 that will close this issue
heifner added a commit that referenced this issue Jun 14, 2023
heifner added a commit that referenced this issue Jun 14, 2023
[4.0] Fix for loading snapshot with empty block log
heifner added a commit that referenced this issue Jun 14, 2023
heifner added a commit that referenced this issue Jun 14, 2023
[4.0 -> main] Fix for loading snapshot with empty block log
@github-project-automation github-project-automation bot moved this from In Progress to Done in Team Backlog Jun 14, 2023
heifner added a commit that referenced this issue Jun 15, 2023
heifner added a commit that referenced this issue Jun 15, 2023
[4.0] Fix for loading a snapshot with an empty block log but an existing fork database
heifner added a commit that referenced this issue Jun 15, 2023
[4.0 -> main] Fix for loading a snapshot with an empty block log but an existing fork database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment