Skip to content

core: don't emit the warning of log indexing if the db was not initialized #31845

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

DanialZhouMAX
Copy link
Contributor

When I'm running the geth node, I found this warning log, it's annoying, because my node is just started, and it should not log the invalid log index database version warning.

WARN [05-14|12:14:22.393] Invalid log index database version; resetting log index

commits:

  1. core/rawdb: implicitly return nil if no error, check error first
  2. core/filtermaps: don't warning if not initialized

@rjl493456442 rjl493456442 added this to the 1.15.12 milestone May 19, 2025
@rjl493456442 rjl493456442 merged commit 15057e7 into ethereum:master May 19, 2025
4 checks passed
Dargon789 pushed a commit to Dargon789/go-ethereum that referenced this pull request May 27, 2025
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