Disable cluster restart attempt

This commit is contained in:
Michael Vines
2019-04-15 09:50:52 -07:00
parent 666882fbbd
commit 5e2831f09e

View File

@ -340,11 +340,18 @@ sanity-or-restart)
else else
echo "+++ Sanity failed, updating the network" echo "+++ Sanity failed, updating the network"
$metricsWriteDatapoint "testnet-manager sanity-failure=1" $metricsWriteDatapoint "testnet-manager sanity-failure=1"
if start "" update; then
echo Update successful # TODO: Restore attempt to restart the cluster before recreating it
# See https://github.com/solana-labs/solana/issues/3774
if false; then
if start "" update; then
echo Update successful
else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
start
fi
else else
echo "+++ Update failed, restarting the network"
$metricsWriteDatapoint "testnet-manager update-failure=1"
start start
fi fi
fi fi