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

fix: Exclude last chunk files during immutable db read #454

Merged
merged 2 commits into from
May 14, 2024

Conversation

Mr-Leshiy
Copy link
Contributor

We have found that according to this docs https://mithril.network/doc/glossary/#immutable-file-number.
Last chunk files of the immutable db is not really immutable.
And as a consequence last chunk files also could have an invalid and corrupted data, which we have faced with some mithrill snapshots (Basically that case also described here #426).
This solution suggests just to exclude the last chunk files during the read, to preserve an expected state from the immutable storage, that's it's finalised state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants