- log "$i : Starting failover on $SINGLEMDS"
- facet_failover $SINGLEMDS
- if ! wait_recovery_complete $SINGLEMDS $((TIMEOUT * 10)); then
- echo "$SINGLEMDS recovery is not completed!"
- kill -9 $pid
- exit 7
- fi
+ log "$i : Starting failover on $SINGLEMDS"
+ facet_failover $SINGLEMDS
+ if ! wait_recovery_complete $SINGLEMDS \
+ $((TIMEOUT * 10)); then
+ echo "$SINGLEMDS recovery is not completed!"
+ kill -9 $pid
+ exit 7
+ fi