File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,10 +264,10 @@ var mapOfDDLKindProbability = map[DDLKind]float64{
264264
265265 ActionAlterIndexVisibility : 0.20 ,
266266
267- ActionCreatePlacementPolicy : 0.10 ,
268- ActionDropPlacementPolicy : 0.10 ,
269- ActionAddPlacementPolicyToTable : 0.10 ,
270- ActionAlterPlacementPolicy : 0.10 ,
267+ ActionCreatePlacementPolicy : 0.20 ,
268+ ActionDropPlacementPolicy : 0.20 ,
269+ ActionAddPlacementPolicyToTable : 0.20 ,
270+ ActionAlterPlacementPolicy : 0.20 ,
271271}
272272
273273type ddlJob struct {
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ func ddlIgnoreError(err error) bool {
176176 strings .Contains (errStr , "Truncated incorrect" ) ||
177177 strings .Contains (errStr , "overflows" ) ||
178178 strings .Contains (errStr , "Invalid year value" ) ||
179+ strings .Contains (errStr , "cannot convert datum from unsigned bigint to type year" ) ||
179180 strings .Contains (errStr , "Incorrect time value" ) ||
180181 strings .Contains (errStr , "Incorrect datetime value" ) ||
181182 strings .Contains (errStr , "Incorrect timestamp value" ) ||
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
2222 "github.com/ngaut/log"
2323)
2424
25- const follow_nums = 2
25+ const follow_nums = 3
2626
2727func PadLeft (str , pad string , length int ) string {
2828 if len (str ) >= length {
Original file line number Diff line number Diff line change 3030 concurrency = flag .Int ("concurrency" , 20 , "concurrency" )
3131 tablesToCreate = flag .Int ("tables" , 1 , "the number of the tables to create" )
3232 mysqlCompatible = flag .Bool ("mysql-compatible" , false , "disable TiDB-only features" )
33- testTime = flag .Duration ("time" , 5 * time .Hour , "test time" )
33+ testTime = flag .Duration ("time" , 6 * time .Hour , "test time" )
3434 output = flag .String ("output" , "" , "output file" )
3535)
3636
You can’t perform that action at this time.
0 commit comments