You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Guide for re-enabling pruning and recovering node db
2
-
This guide is specifically made for the the validators/node operators affected by the pruning issue which caused a mainnet halt on September 6th 2025.
1
+
# Guide for re-enabling pruning and recovering node db
3
2
4
-
Re enabling pruning (to `default`/`custom` from `nothing`) on the affected nodes will cause the nodes to halt again as the database pruning resumes its operation. To avoid this it is recommended to reset your node db and recover it using state sync or a db snapshot. The nodes that weren't affected by the pruning issue or that had recovered by the time the `nothing` pruning fix was rolled out do not have to undergo this procedure.
3
+
This guide is specifically made for the the validators/node operators affected by the pruning issue encountered following our v4.x upgrade. This issue required some validators/node operators having to disable pruning entirely.
5
4
6
-
## State Sync:-
7
-
Stop the systemd service of the node.
5
+
Re-enabling pruning (to `default`/`custom` from `nothing`) on the affected nodes will cause the nodes to halt again as the database pruning resumes its operation. To avoid this it is recommended to reset your node db and recover it using state sync or a db snapshot. The nodes that weren't affected by the pruning issue or that had recovered by the time the pruning fix was rolled out do not have to undergo this procedure.
6
+
7
+
Following this procedure will significantly reduce the disk space required for your node’s regular operations, thereby lowering operational costs (on the nodes we manage, we observed storage usage drop from 700+ GB to under 10 GB). Additionally, running a node with less disk usage will likely improve performance.
8
+
9
+
You have two options here:
10
+
11
+
1) Reset via State Sync
12
+
2) Reset by using DB snapshot
13
+
14
+
## State Sync
15
+
16
+
Stop the systemd service of the node.
8
17
`sudo systemctl stop cheqd-cosmovisor.service`
9
18
10
-
Take a backup of the priv_validator_state.json. **This step is very Important for validator nodes.**
The node should start looking for statesync chunks from it's peers and begin the restoration process in a few minutes.
54
+
```bash
55
+
sudo systemctl restart cheqd-cosmovisor.service
56
+
```
57
+
58
+
The node should start looking for statesync chunks from it's peers and begin the restoration process in a few minutes. After some time, it should catch up with the network and continue siging blocks.
59
+
60
+
## Snapshot
61
+
62
+
Stop the systemd service of the node:
63
+
64
+
```bash
65
+
sudo systemctl stop cheqd-cosmovisor.service`
66
+
```
67
+
68
+
Take a backup of the priv_validator_state.json. **This step is very Important for validator nodes:**
0 commit comments