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

Bug: Unable to prune wasm state #595

Open
kinrokinro opened this issue Nov 7, 2024 · 0 comments
Open

Bug: Unable to prune wasm state #595

kinrokinro opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kinrokinro
Copy link

kinrokinro commented Nov 7, 2024

System Information
Archway Version: 9.0.0
Commit Hash: 5eb8a3062e1b457b6732d681f742e54facbf8b18
OS & Version:

NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"

Expected behavior
The node shouldn't stop when pruning anything

Actual behavior
The node stops at all (except the p2p, only p2p logs are available during the halt)

Steps to reproduce
You should have a node which you would be able to prune for height 6836449 (according to the logs)

Trace

8:35PM DBG SAVE TREE module=server version=7199330
8:35PM DBG SAVE TREE module=server version=7199330
8:35PM DBG SAVE TREE module=server version=7199330
8:35PM DBG SAVE TREE module=server version=7199330
8:35PM DBG prune start height=7199330 module=server
8:35PM DBG pruning store heights=6836449 module=server
8:35PM DBG pruning store key="KVStoreKey{0xc0038d1ee0, consensus}" module=server
8:35PM DBG pruning store key="KVStoreKey{0xc0038d1e50, params}" module=server
8:35PM DBG pruning store key="KVStoreKey{0xc0038d1ed0, wasm}" module=server <<<< The node itself halts there
Stopping ARCHWAY Daemon...
8:40PM INF caught signal module=server signal=terminated
8:40PM DBG pruning store key="KVStoreKey{0xc0038d1f10, icahost}" module=server
8:40PM DBG pruning store key="MemoryStoreKey{0xc003a80070, memory:capability}" module=server
8:40PM DBG pruning store key="KVStoreKey{0xc0038d1de0, acc}" module=server
8:40PM ERR Error deleting legacy versions err="Value missing for key [201 153 12 210 160 114 241 175 1 237 188 1 156 1 202 132 36 42 165 148 65 8 19 112 167 201 67 199 240 165 242 240] corresponding to nodeKey 6ec9990cd2a072f1af01edbc019c01ca84242aa59441081370a7c943c7f0a5f2f0" module=server
8:40PM DBG pruning store key="TransientStoreKey{0xc003a80050, t_cwerrors}" module=server
8:40PM DBG pruning store key="KVStoreKey{0xc0038d1ea0, capability}" module=server
8:40PM DBG pruning store key="KVStoreKey{0xc0038d1f60, cwica}" module=server
8:40PM DBG pruning store key="KVStoreKey{0xc0038d1f40, group}" module=server
8:41PM DBG pruning store key="KVStoreKey{0xc0038d1ec0, authz}" module=server
8:41PM DBG pruning store key="KVStoreKey{0xc0038d1e40, gov}" module=server
8:41PM DBG pruning store key="KVStoreKey{0xc0038d1e60, ibc}" module=server
archwayd.service: State 'stop-sigterm' timed out. Killing.

Workaround
Disable pruning with pruning = nothing in ~/.archway/config/app.toml

@kinrokinro kinrokinro added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant