From 0957a50a34bc90db632dde18e96afcc9bae821d1 Mon Sep 17 00:00:00 2001 From: bji Date: Sat, 27 May 2023 08:03:59 -0700 Subject: [PATCH] =?UTF-8?q?Add=20snapshots=20arguments=20to=20the=20ledger?= =?UTF-8?q?=20tool=20command=20because=20numerous=20o=E2=80=A6=20(#31847)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add snapshots arguments to the ledger tool command because numerous operators have been tripped up by not realizing that these arguments are needed for fairly standard configs. The additional arguments are harmless for those who don't separate snapshots into separate dirs, but essential for those who do. --- docs/src/running-validator/restart-cluster.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/running-validator/restart-cluster.md b/docs/src/running-validator/restart-cluster.md index 4f4fd0c908..4039f69a6b 100644 --- a/docs/src/running-validator/restart-cluster.md +++ b/docs/src/running-validator/restart-cluster.md @@ -28,10 +28,10 @@ instead. ### Step 4. Create a new snapshot for slot `SLOT_X` with a hard fork at slot `SLOT_X` ```bash -$ solana-ledger-tool -l ledger create-snapshot SLOT_X ledger --hard-fork SLOT_X +$ solana-ledger-tool -l --snapshot-archive-path --incremental-snapshot-archive-path create-snapshot SLOT_X --hard-fork SLOT_X ``` -The ledger directory should now contain the new snapshot. +The snapshots directory should now contain the new snapshot. `solana-ledger-tool create-snapshot` will also output the new shred version, and bank hash value, call this NEW_SHRED_VERSION and NEW_BANK_HASH respectively.