From ddc6c8ead9759bda86882a0f54927c7a3119da89 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 20 Nov 2024 16:52:48 +1100 Subject: [PATCH] docs: replace more references to lotus-shed with lotus in ChainIndexer docs (#12708) Ref: https://github.com/filecoin-project/lotus/issues/12654 --- .../en/chain-indexer-overview-for-operators.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/en/chain-indexer-overview-for-operators.md b/documentation/en/chain-indexer-overview-for-operators.md index 4c815f61122..cafa24872dc 100644 --- a/documentation/en/chain-indexer-overview-for-operators.md +++ b/documentation/en/chain-indexer-overview-for-operators.md @@ -17,7 +17,7 @@ - [Backfill](#backfill) - [Backfill Timing](#backfill-timing) - [Backfill Disk Space Requirements](#backfill-disk-space-requirements) - - [`lotus index validate-backfill` CLI tool](#lotus-shed-chainindex-validate-backfill-cli-tool) + - [`lotus index validate-backfill` CLI tool](#lotus-index-validate-backfill-cli-tool) - [Usage](#usage) - [Regular Checks](#regular-checks) - [Downgrade Steps](#downgrade-steps) @@ -233,7 +233,7 @@ The command validates the chain index entries for each epoch in the specified ra You can learn about how to use the tool with `lotus index validate-backfill -h`. -Note: If you are using a non-standard Lotus repo directory then you can run the command with `lotus-shed -repo /path/to/lotus/repo chainindex validate-backfill ...`, or by setting the `LOTUS_REPO` environment variable. +Note: If you are using a non-standard Lotus repo directory then you can run the command with `lotus -repo /path/to/lotus/repo chainindex validate-backfill ...`, or by setting the `LOTUS_REPO` environment variable. ## Regular Checks @@ -252,8 +252,8 @@ current_date=$(date '+%Y-%m-%d %H:%M:%S') # not expect regular errors in the index. BACKFILL_OPTION=false -# Path to the lotus-shed binary -LOTUS_SHED_PATH="/path/to/lotus-shed" +# Path to the lotus binary +LOTUS_BIN_PATH="/path/to/lotus" # Get the current chain head epoch number start_epoch=$(lotus chain head --height) @@ -267,7 +267,7 @@ epochs_to_validate=3000 end_epoch=$((start_epoch - epochs_to_validate + 1)) # Run the Lotus chainindex validate-backfill command -validation_output=$("$LOTUS_SHED_PATH" chainindex validate-backfill --from="$start_epoch" --to="$end_epoch" --backfill="$BACKFILL_OPTION" --quiet 2>&1) +validation_output=$("$LOTUS_BIN_PATH" chainindex validate-backfill --from="$start_epoch" --to="$end_epoch" --backfill="$BACKFILL_OPTION" --quiet 2>&1) # Check the exit status of the command to determine if errors occurred if [ $? -ne 0 ]; then