Skip to content

Commit

Permalink
Update ddl/ddl_worker.go
Browse files Browse the repository at this point in the history
Co-authored-by: wjHuang <huangwenjun1997@gmail.com>
  • Loading branch information
tangenta and wjhuang2016 committed Dec 6, 2021
1 parent cc69185 commit 23f4d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/ddl_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func (d *ddl) addBatchDDLJobs(tasks []*limitJobTask) {
metrics.RetLabel(err)).Observe(time.Since(startTime).Seconds())
}
if err != nil {
logutil.BgLogger().Error("[ddl] adding DDL jobs failed", zap.String("jobs", jobs), zap.Error(err))
logutil.BgLogger().Warn("[ddl] add DDL jobs failed", zap.String("jobs", jobs), zap.Error(err))
} else {
logutil.BgLogger().Info("[ddl] add DDL jobs", zap.Int("batch count", len(tasks)), zap.String("jobs", jobs))
}
Expand Down

0 comments on commit 23f4d26

Please sign in to comment.