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

Research (and fix) state not found warning #8876

Open
oxarbitrage opened this issue Sep 19, 2024 · 2 comments
Open

Research (and fix) state not found warning #8876

oxarbitrage opened this issue Sep 19, 2024 · 2 comments
Labels
A-state Area: State / database changes C-bug Category: This is a bug

Comments

@oxarbitrage
Copy link
Contributor

We are recently seeing a warning in zebrad. We want to check it in more details and decide what to in the context of this ticket.

#8865 (comment)

2024-09-16T13:37:54.535314Z  WARN zebra_state::service::finalized_state::disk_db: could not canonicalize "/var/cache/zebrad-cache/state/v25/mainnet": No such file or directory (os error 2)

In regtest mode:

2024-09-19T11:59:37.538954Z  WARN zebra_state::service::finalized_state::disk_db: could not canonicalize "/tmp/testp3siw8dm/515/node0/state/v25/regtest": No such file or directory (os error 2)
@oxarbitrage oxarbitrage added C-bug Category: This is a bug A-state Area: State / database changes labels Sep 19, 2024
@mpguerra
Copy link
Contributor

Is this only in CI?

@arya2
Copy link
Contributor

arya2 commented Sep 27, 2024

Is this only in CI?

No, I've seen it locally as well. I think it happens when creating a new empty state, or after the old major version has already been renamed and Zebra has restarted because there's no file there. We probably want it to be an info-level log instead, or check for a version file in the new major version before attempting to canonicalize the path to the old major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-state Area: State / database changes C-bug Category: This is a bug
Projects
Status: New
Development

No branches or pull requests

3 participants