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
* `--history-expiry-prune` is deprecated
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
* typo
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
---------
Signed-off-by: Alexandra Carrillo <alexandra.carrillo@consensys.net>
- `--Xplugin-rocksdb-blob-garbage-collection-age-cutoff=0.5`: The fraction of file age that makes a blob file eligible for garbage collection; `0.5` means only the oldest 50% of files are eligible.
51
+
- `--Xplugin-rocksdb-blob-garbage-collection-force-threshold=0.1`: The fraction of garbage within an eligible blob file required to trigger compaction; `0.1` triggers garbage collection when at least 10% of an eligible file's content is garbage.
50
52
51
53
:::info
52
54
In testing, we saw the space increased by up to 200GB before the space was finally reclaimed.
53
55
We suggest waiting 24-48 hours for all the space to be reclaimed.
54
56
:::
55
57
56
-
1. (Optional) Remove the `--history-expiry-prune` option and restart Besu. This will disable garbage collection which isn't necessary after pruning has reclaimed all the space.
58
+
1. (Optional) Remove the RocksDB options and restart Besu. This will disable garbage collection which isn't necessary after pruning has reclaimed all the space.
57
59
58
60
## Online pruning
59
61
62
+
:::caution Deprecated
63
+
64
+
Online pruning using `--history-expiry-prune` is deprecated in Besu version 26.1.0 and will be removed in a future release.
65
+
Use [offline pruning](#offline-pruning) or [sync without pre-merge blocks](#sync-without-pre-merge-blocks) instead.
66
+
67
+
:::
68
+
60
69
Online pruning allows you to prune the pre-merge blocks on a running Besu instance. It has the least
61
70
downtime but may impact normal operations for lower spec users. Add the [`--history-expiry-prune`](../reference/cli/options.md#history-expiry-prune) option and restart your Besu node.
62
71
63
72
:::note
64
-
The early access option `--Xpre-merge-pruning-quantity` can be used to specify how many blocks to prune
73
+
The early access option `--Xpre-merge-pruning-quantity` can be used to specify how many blocks to prune
65
74
for each new block added to the chain. For example, `--Xpre-merge-pruning-quantity=10`.
66
75
During testing on a 4 CPU machine, we only noticed an impact to Besu when this was tuned to `1000`
0 commit comments