Skip to content

Commit 2d80cbd

Browse files
Fix TiDB
1 parent a42f017 commit 2d80cbd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tidb/benchmark.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ echo "Starting to check for completion on $(date +"%T")"
9090
while ! grep -q 'the whole procedure completed' tidb-lightning.log; do
9191
if grep -q 'tidb lightning exit.*finished=false' tidb-lightning.log || grep -q 'ERROR' tidb-lightning.log; then
9292
echo "An error occurred during the import. Check the log file for details."
93+
cat tidb-lightning.log
9394
exit 1
9495
fi;
9596
grep 'progress.*total' tidb-lightning.log | tail -n 1

0 commit comments

Comments
 (0)