diff --git a/dysnix/bsc/Chart.yaml b/dysnix/bsc/Chart.yaml index 32a7e073..74485cbe 100644 --- a/dysnix/bsc/Chart.yaml +++ b/dysnix/bsc/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: bsc description: Binance Smart Chain chart for Kubernetes -version: "0.6.28" +version: "0.6.29" appVersion: "v1.2.4" keywords: diff --git a/dysnix/bsc/templates/scripts/_sync_to_gcs.tpl b/dysnix/bsc/templates/scripts/_sync_to_gcs.tpl index 468a58c6..91c2112e 100644 --- a/dysnix/bsc/templates/scripts/_sync_to_gcs.tpl +++ b/dysnix/bsc/templates/scripts/_sync_to_gcs.tpl @@ -74,9 +74,9 @@ ${S5CMD} cp updating "s3://${UPDATING_URL}" # sync from local disk to cloud with removing existing [missing on local disk] files # run multiple syncs in background # sync is recursive by default, thus we need to exclude ancient data here -time ${S5CMD} --stat sync --delete ${EXCLUDE_ANCIENT} "${CHAINDATA_DIR}/" "s3://${STATE_DST}/" > cplist_state.txt & +time ${S5CMD} --stat --log error sync --delete ${EXCLUDE_ANCIENT} "${CHAINDATA_DIR}/" "s3://${STATE_DST}/" & STATE_CP_PID=$! -time nice ${S5CMD} --stat sync --delete --part-size 200 --concurrency 2 ${EXCLUDE_STATE} "${CHAINDATA_DIR}/ancient/" "s3://${ANCIENT_DST}/" > cplist_ancient.txt & +time nice ${S5CMD} --stat --log error sync --delete --part-size 200 --concurrency 2 ${EXCLUDE_STATE} "${CHAINDATA_DIR}/ancient/" "s3://${ANCIENT_DST}/" & ANCIENT_CP_PID=$! # Wait for each specified child process and return its termination status # errors are "handled" by "set -e"