Skip to content

tenermint reset-state does not remove application.db #1721

@rootulp

Description

@rootulp

Context

Problem

celestia-appd tendermint reset-state does not remove application.db

$ celestia-appd tendermint reset-state
I[2024-09-18|12:06:16.915] Removed all blockstore.db                    dir=/Users/rootulp/.celestia-app/data/blockstore.db
I[2024-09-18|12:06:16.915] Removed all state.db                         dir=/Users/rootulp/.celestia-app/data/state.db
I[2024-09-18|12:06:16.916] Removed all cs.wal                           dir=/Users/rootulp/.celestia-app/data/cs.wal
I[2024-09-18|12:06:16.916] Removed all evidence.db                      dir=/Users/rootulp/.celestia-app/data/evidence.db
I[2024-09-18|12:06:16.916] Removed tx_index.db                          dir=/Users/rootulp/.celestia-app/data/tx_index.db

$ ls -al ~/.celestia-app/data
total 8
drwx------   6 rootulp  staff  192 Sep 18 12:06 .
drwxr-xr-x   5 rootulp  staff  160 Sep 18 12:05 ..
drwxr-xr-x   7 rootulp  staff  224 Sep 18 12:05 application.db
-rw-------   1 rootulp  staff  384 Sep 18 12:05 priv_validator_state.json
drwxr-xr-x   3 rootulp  staff   96 Sep 18 12:05 snapshots
drwx------  14 rootulp  staff  448 Sep 18 12:05 traces

Proposal

Add an extra step to these docs to instruct node operators to remove application.db

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions