From 27e94a2c30050f0c5d9aede516df61d80b42941a Mon Sep 17 00:00:00 2001 From: Matilda-Clerke Date: Tue, 16 Jul 2024 00:19:58 +1000 Subject: [PATCH] =?UTF-8?q?6612:=20Remove=20remaining=20references=20to=20?= =?UTF-8?q?X=5FSNAP=20and=20X=5FCHECKPOINT=20from=20unv=E2=80=A6=20(#1651)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 6612: Remove remaining references to X_SNAP and X_CHECKPOINT from unversioned docs Signed-off-by: Matilda Clerke * Update docs/public-networks/how-to/bonsai-limit-trie-logs.md Co-authored-by: Sally MacFarlane Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com> --------- Signed-off-by: Matilda Clerke Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com> Co-authored-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com> Co-authored-by: Sally MacFarlane Signed-off-by: m4sterbunny --- docs/public-networks/how-to/bonsai-limit-trie-logs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/public-networks/how-to/bonsai-limit-trie-logs.md b/docs/public-networks/how-to/bonsai-limit-trie-logs.md index 752ff7e6a3f..0cf2e303087 100644 --- a/docs/public-networks/how-to/bonsai-limit-trie-logs.md +++ b/docs/public-networks/how-to/bonsai-limit-trie-logs.md @@ -42,7 +42,7 @@ Before executing these example commands on your node, modify them to apply to yo 1. Stop Besu. 1. (Optional) Run the Besu trie log prune command. Specify the Bonsai Trie data storage format and the data directory for your Besu database: ```bash - sudo /usr/local/bin/besu/bin/besu --data-storage-format=BONSAI --data-path=/var/lib/besu --sync-mode=X_SNAP storage trie-log prune + sudo /usr/local/bin/besu/bin/besu --data-storage-format=BONSAI --data-path=/var/lib/besu --sync-mode=SNAP storage trie-log prune ``` 1. Start Besu. 1. Look for `Limit trie logs enabled: retention: 512; prune window: 30000` in your Besu configuration printout at startup. @@ -198,8 +198,8 @@ You must shut down the Besu client before running the subcommand. - `java.lang.IllegalStateException: Unable to change the sync mode when snap sync is incomplete, please restart with snap sync mode` Check that you have specified `--sync-mode`. -The default is `--sync-mode=FAST`. -Most Mainnet users use `X_SNAP` or `X_CHECKPOINT`. +The default is `--sync-mode=SNAP`. +Most Mainnet users use `SNAP` or `CHECKPOINT`. ### Cannot run trie log prune