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
The pruning strategy keep_n doesn't work when syncing a client from genesis. The consensus block store located in data/consensus/data/blockstore.badger.db is never pruned, resulting in the database occupying more than 100GB of space during a mainnet sync.
One would expect this code to prune blocks, but this only occurs when a commit is finalized, not when a client processes older blocks. Restarting the client does not prune either.
The pruning strategy
keep_n
doesn't work when syncing a client from genesis. The consensus block store located indata/consensus/data/blockstore.badger.db
is never pruned, resulting in the database occupying more than 100GB of space during a mainnet sync.One would expect this code to prune blocks, but this only occurs when a commit is finalized, not when a client processes older blocks. Restarting the client does not prune either.
Configuration:
How to prune blocks manually:
The text was updated successfully, but these errors were encountered: