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

Failed to prune store err=Value missing for key #27

Closed
ducphamle2 opened this issue Nov 12, 2024 · 6 comments
Closed

Failed to prune store err=Value missing for key #27

ducphamle2 opened this issue Nov 12, 2024 · 6 comments

Comments

@ducphamle2
Copy link
Collaborator

ducphamle2 commented Nov 12, 2024

Context

When starting a node with prune mode=default or mode=everything -> the node will show pruning errors like in the title. This bug is from the new IAVL 1.2.0 version and is patched in the release 1.2.x branch.

To Reproduce

  1. Set the prune mode=default or mode=everything.
  2. Start an Oraichain node version 0.50.
  3. Observe the logs and seek this error: Failed to prune store... or Error deleting legacy versions

Expected behavior

There shouldn't be any error logs

Screenshots

image
image

Additional context

The bug is originally mentioned here: crypto-org-chain/cronos#1672

How they resolved: crypto-org-chain/cronos#1673

@yihuang
Copy link

yihuang commented Nov 13, 2024

How they resolved

not resolved actually, the sdk team is still working on it.

@ducphamle2
Copy link
Collaborator Author

How they resolved

not resolved actually, the sdk team is still working on it.

really? thats sad. Does it work with custom pruning? Or it has to be prune=nothing

@ducphamle2
Copy link
Collaborator Author

Current workaround: Use prune=nothing

@ducphamle2
Copy link
Collaborator Author

ducphamle2 commented Nov 27, 2024

@yihuang you have any news regarding this bug? Does this PR fix the issue? crypto-org-chain/cronos#1702

@yihuang
Copy link

yihuang commented Nov 28, 2024

@yihuang you have any news regarding this bug? Does this PR fix the issue? crypto-org-chain/cronos#1702

iavl 1.2.2 should have fixed that

@ducphamle2
Copy link
Collaborator Author

ducphamle2 commented Nov 28, 2024

@yihuang that's good news. Thanks for your info, let us patch it!

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

No branches or pull requests

3 participants