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

Take a LedgerDB snapshot on shut down #1387

Closed
mrBliss opened this issue Jan 2, 2020 · 0 comments · Fixed by #1388
Closed

Take a LedgerDB snapshot on shut down #1387

mrBliss opened this issue Jan 2, 2020 · 0 comments · Fixed by #1388
Assignees
Labels
chain db consensus issues related to ouroboros-consensus ledger db
Milestone

Comments

@mrBliss
Copy link
Contributor

mrBliss commented Jan 2, 2020

When stopping a node that is in the middle of syncing, there would otherwise be no recent ledger DB snapshot, which means that a ton of blocks have to be replayed against an older ledger DB snapshot or the initial ledger at genesis. Such replays could take multiple minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chain db consensus issues related to ouroboros-consensus ledger db
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant