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

Unclean shutdown may lead to offline pruning to be incompatible with state sync setting. #254

Open
darioush opened this issue Jun 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@darioush
Copy link
Collaborator

darioush commented Jun 8, 2023

Describe the bug
In case the node is shut down without writing the snapshot fully, offline pruning becomes incompatible with the delayed snapshot initialization. This theory should be confirmed and the initialization sequence should be fixed.

To Reproduce
Several users have reported this on discord with a workaround: https://discord.com/channels/578992315641626624/1113120800975888444/1113120800975888444
https://discord.com/channels/578992315641626624/757576823570825316/1115070900413419521

Expected behavior
Offline pruning should function without any workarounds or unrelated configuration changes.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
If applicable, please include the relevant logs that indicate a problem and/or the log directory of your node. By default, this can be found at ~/.avalanchego/logs/.

Metrics
N/A

Operating System
N/A

Additional context
Add any other context about the problem here.

Avalanche Bug Bounty program can be found here.

@darioush darioush added the bug Something isn't working label Jun 8, 2023
@darioush darioush self-assigned this Jun 8, 2023
@github-project-automation github-project-automation bot moved this to Backlog 🗄 in EVM Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Status: Backlog 🗄
Development

No branches or pull requests

1 participant