We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a42f017 commit 2d80cbdCopy full SHA for 2d80cbd
1 file changed
tidb/benchmark.sh
@@ -90,6 +90,7 @@ echo "Starting to check for completion on $(date +"%T")"
90
while ! grep -q 'the whole procedure completed' tidb-lightning.log; do
91
if grep -q 'tidb lightning exit.*finished=false' tidb-lightning.log || grep -q 'ERROR' tidb-lightning.log; then
92
echo "An error occurred during the import. Check the log file for details."
93
+ cat tidb-lightning.log
94
exit 1
95
fi;
96
grep 'progress.*total' tidb-lightning.log | tail -n 1
0 commit comments