File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ func printWorkaroundOnFullRestoreError(command *cobra.Command, err error) {
85
85
fmt .Println ("# you can drop existing databases and tables and start restore again" )
86
86
case errors .ErrorEqual (err , berrors .ErrRestoreIncompatibleSys ):
87
87
fmt .Println ("# the target cluster is not compatible with the backup data," )
88
- fmt .Println ("# you can remove ' with-sys-table' flag to skip restoring system tables" )
88
+ fmt .Println ("# you can use '-- with-sys-table=false' to skip restoring system tables" )
89
89
}
90
90
fmt .Println ("#######################################################################" )
91
91
}
Original file line number Diff line number Diff line change 46
46
47
47
rm -f $LOG
48
48
run_br --pd $PD_ADDR restore full -s " local://$TEST_DIR /$DB " --log-file $LOG --filter " ${DB} 1.*" || cat $LOG
49
- load_cnt=$( cat $LOG | grep " restore stat done" | wc -l)
50
- load_db1_cnt=$( cat $LOG | grep " restore stat done" | grep " ${DB} 1" | wc -l)
49
+ load_cnt=$( cat $LOG | grep " restore statistic data done" | wc -l)
50
+ load_db1_cnt=$( cat $LOG | grep " restore statistic data done" | grep " ${DB} 1" | wc -l)
51
51
load_mark=$(( ${load_cnt} + 10 * ${load_db1_cnt} ))
52
52
echo " load stats count: ${load_cnt} ; db1 count: ${load_db1_cnt} ; load mark: ${load_mark} "
53
53
54
54
if [ " ${load_mark} " -ne " 11" ]; then
55
55
echo " TEST: [$TEST_NAME ] fail on load stats"
56
- echo $( cat $LOG | grep " restore stat done" )
56
+ echo $( cat $LOG | grep " restore statistic data done" )
57
57
exit 1
58
58
fi
You can’t perform that action at this time.
0 commit comments