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

snapshot prune-state failed to compacting(db.engine=pebble) #26797

Closed
jsvisa opened this issue Mar 3, 2023 · 1 comment
Closed

snapshot prune-state failed to compacting(db.engine=pebble) #26797

jsvisa opened this issue Mar 3, 2023 · 1 comment
Labels

Comments

@jsvisa
Copy link
Contributor

jsvisa commented Mar 3, 2023

System information

Geth
Version: 1.11.2-stable
Git Commit: 73b01f40ceb6bcb6f9f44c2a3d6f963b40452b47
Architecture: amd64
Go Version: go1.20.1
Operating System: linux
GOPATH=
GOROOT=

I'm running a geth node with db.engine=pebble, running snapshot pruning failed to compacting the last 0xf0- range

Expected behaviour

Success to prune and compact

Actual behaviour

INFO [03-02|16:27:33.692] Compacting database                      range=0xc0-0xd0 elapsed=18m53.444s                                 [13/1906]
INFO [03-02|16:28:30.073] Compacting database                      range=0xd0-0xe0 elapsed=19m49.825s
INFO [03-02|16:29:22.040] Compacting database                      range=0xe0-0xf0 elapsed=20m41.793s
INFO [03-02|16:30:24.419] Compacting database                      range=0xf0-     elapsed=21m44.172s
ERROR[03-02|16:30:24.426] Database compaction failed               error="Compact start \\xf0 is not less than end "
ERROR[03-02|16:30:24.429] Failed to prune state                    err="Compact start \\xf0 is not less than end "
Compact start \xf0 is not less than end

Steps to reproduce the behaviour

geth snapshot prune-state --datadir /data/

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

@jsvisa jsvisa added the type:bug label Mar 3, 2023
@jsvisa jsvisa changed the title snapshot prune-state if db.engine=pebble failed to compacting snapshot prune-state failed to compacting(db.engine=pebble) Mar 3, 2023
@rjl493456442
Copy link
Member

It's duplicated with #26762 and already be fixed in master. Try it out.

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

No branches or pull requests

2 participants