We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12121cc + c92c0b2 commit 96a3ee2Copy full SHA for 96a3ee2
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