Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #1074

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/snapshot-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This process involves scaling down a kubernetes statefulset to ensure no process

## Manual Restore

This process involves scaling down a kubenetes statefulset in order to remove any existing pvcs and pvs associated with the replica you wish to restore, creating a new ebs volume from an aws snapshot, and then manually applying a kubernetes yaml file to create a new pvc and pv pointed at the new ebs volume created. Take note of volume size and availability zone to ensure that you recreate the pvc and pv correctly.
This process involves scaling down a kubernetes statefulset in order to remove any existing pvcs and pvs associated with the replica you wish to restore, creating a new ebs volume from an aws snapshot, and then manually applying a kubernetes yaml file to create a new pvc and pv pointed at the new ebs volume created. Take note of volume size and availability zone to ensure that you recreate the pvc and pv correctly.

1. Manually scale the statefulset of the target coinstack down in k9s (see above)
1. Delete the pvc associated with the statefulset replica to be restored
Expand Down
2 changes: 1 addition & 1 deletion node/coinstacks/polygon/daemon/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apk add bash curl jq wget zstd tar pv aria2
DATA_DIR=/data
CHAINDATA_DIR=$DATA_DIR/bor/chaindata

# shapshots provided by: https://snapshot.polygon.technology/
# snapshots provided by: https://snapshot.polygon.technology/
if [ -n "$SNAPSHOT" ] && [ ! -d "$CHAINDATA_DIR" ]; then
rm -rf $DATA_DIR/bor;
mkdir -p $CHAINDATA_DIR;
Expand Down
2 changes: 1 addition & 1 deletion node/coinstacks/polygon/heimdall/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apk add bash curl jq wget zstd tar pv aria2
HOME_DIR=/root/.heimdalld
CONFIG_DIR=$HOME_DIR/config

# shapshots provided by: https://snapshot.polygon.technology/
# snapshots provided by: https://snapshot.polygon.technology/
if [ -n "$SNAPSHOT" ] && [ ! -f "$HOME_DIR/data/priv_validator_state.json" ]; then
rm -rf $HOME_DIR/data;
mkdir -p $HOME_DIR/data;
Expand Down
2 changes: 1 addition & 1 deletion node/packages/blockbook/generate-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

if [ $# -lt 1 ]; then
echo "Missing arugments" 1>&2
echo "Missing arguments" 1>&2
echo "Usage: <coin>" 1>&2
exit 1
fi
Expand Down