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

core/rawdb: better error message in freezer #23901

Merged
merged 2 commits into from
Nov 16, 2021

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Nov 12, 2021

This PR provides a better error message in case there's a mismatch between what's in ancients and what we try to put there. Right now, we can't really tell if we're missing something or if we have too much data there already.

core/rawdb/freezer_batch.go Outdated Show resolved Hide resolved
core/rawdb/freezer_batch.go Outdated Show resolved Hide resolved
@karalabe karalabe added this to the 1.10.13 milestone Nov 16, 2021
@karalabe karalabe merged commit b7a6409 into ethereum:master Nov 16, 2021
@holiman holiman deleted the tiny_freezerfix branch November 16, 2021 09:34
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Nov 16, 2021
* core/rawdb: better error message in freezer

* Apply suggestions from code review
yongjun925 pushed a commit to DODOEX/go-ethereum that referenced this pull request Dec 3, 2022
* core/rawdb: better error message in freezer

* Apply suggestions from code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants