diff --git a/ddl/table.go b/ddl/table.go index 0afefc5917258..5e2434414528c 100644 --- a/ddl/table.go +++ b/ddl/table.go @@ -25,6 +25,7 @@ import ( "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/table" "github.com/pingcap/tidb/tablecodec" + log "github.com/sirupsen/logrus" ) func (d *ddl) onCreateTable(t *meta.Meta, job *model.Job) (ver int64, _ error) { @@ -58,8 +59,9 @@ func (d *ddl) onCreateTable(t *meta.Meta, job *model.Job) (ver int64, _ error) { } if EnableSplitTableRegion { err = d.splitTableRegion(tbInfo.ID) + // It will be automatically splitting by TiKV later. if err != nil { - return ver, errors.Trace(err) + log.Warnf("[ddl] split table region failed %v", err) } } // Finish this job.