Validators now rsync the ledger smarter
- Don't re-rsync parts of the ledger that are already present - Disable compression
This commit is contained in:
parent
999534248b
commit
5fec0ac82f
|
@ -93,9 +93,9 @@ rsync_leader_url=$(rsync_url "$leader")
|
||||||
|
|
||||||
tune_networking
|
tune_networking
|
||||||
|
|
||||||
rm -rf "$SOLANA_LEADER_CONFIG_DIR"
|
|
||||||
set -ex
|
set -ex
|
||||||
$rsync -vPrz "$rsync_leader_url"/config/ "$SOLANA_LEADER_CONFIG_DIR"
|
$rsync --append --verbose --partial --progress --recursive \
|
||||||
|
"$rsync_leader_url"/config/ "$SOLANA_LEADER_CONFIG_DIR"
|
||||||
[[ -d $SOLANA_LEADER_CONFIG_DIR/ledger ]] || {
|
[[ -d $SOLANA_LEADER_CONFIG_DIR/ledger ]] || {
|
||||||
echo "Unable to retrieve ledger from $rsync_leader_url"
|
echo "Unable to retrieve ledger from $rsync_leader_url"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue