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

Unexpected trie missing in prefetcher #29880

Closed
rjl493456442 opened this issue May 30, 2024 · 4 comments · Fixed by #29919
Closed

Unexpected trie missing in prefetcher #29880

rjl493456442 opened this issue May 30, 2024 · 4 comments · Fixed by #29919
Labels

Comments

@rjl493456442
Copy link
Member

Geth will occasionally report this kind of log during the full sync.

ERROR[05-30|10:43:55.896] Prefetcher missed to load trie           owner=000000..000000 root=223db5..e44945

It denotes the specific account trie is not scheduled for prefetching, but it's required for state rehashing.

@karalabe
Copy link
Member

This tuned out to be post-merge but pre-withdrawals when there's an empty block with no txs, so the account trie never gets prefetched. So no issue, but scary warning.

@holiman
Copy link
Contributor

holiman commented May 30, 2024

@karalabe
Copy link
Member

I guess the fix would be to always inject a prefetch() call for the account trie whenever we create a statedb / start a prefetcher. It's a bit overkill, but it's cleaner than trying to be smart about avoiding accessing the account trie in statedb.Commit.

@wawrzek
Copy link

wawrzek commented May 31, 2024

I can consistently repeat the issue using the latest docker image in the https://github.com/ivy-net/iv1 (or any other derivative of https://github.com/OffchainLabs/eth-pos-devnet).

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

Successfully merging a pull request may close this issue.

4 participants