Closed mehdi-aouadi closed 1 month ago
LGTM. It'll recover slowly this way but im not sure if we want to configure it to clean up more aggressively.... we'd easily be able to delete 1 state per minute for example, which would be x5 faster that this.
We have the --Xdata-storage-state-pruning-limit
and the --Xdata-storage-state-pruning-interval
if we want to make it more agressive...
We have the
--Xdata-storage-state-pruning-limit
and the--Xdata-storage-state-pruning-interval
if we want to make it more agressive...
sure, but would you expect to need to set either of those options when you're just changing to minimal or prune mode ?
We have the
--Xdata-storage-state-pruning-limit
and the--Xdata-storage-state-pruning-interval
if we want to make it more agressive...sure, but would you expect to need to set either of those options when you're just changing to minimal or prune mode ?
Definitely not obvious. We can configure the pruner to delete 1 state per minute (if none of the --Xdata-storage-state-pruning-limit
and --Xdata-storage-state-pruning-interval
is set) when switching the storage mode as you suggested then, wdyt?
Here's a PR https://github.com/Consensys/teku/pull/8734
PR Description
Clean up the finalized states after switching from ARCHIVE to MINIMAL or PRUNE mode.
Fixed Issue(s)
fixes #8525
Documentation
doc-change-required
label to this PR if updates are required.Changelog