Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: joccau <[email protected]>
  • Loading branch information
joccau committed Sep 18, 2024
1 parent f054a0e commit a72216c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/ddl/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -6275,6 +6275,9 @@ func (e *executor) DoDDLJobWrapper(ctx sessionctx.Context, jobW *JobWrapper) (re
// Instead, we merge all the jobs into one pending job.
return appendToSubJobs(mci, job)
}

logutil.DDLLogger().Info("Debug ddl job", zap.Bool("jobArgs is nil", jobW.JobArgs == nil))

// Get a global job ID and put the DDL job in the queue.
setDDLJobQuery(ctx, job)
e.deliverJobTask(jobW)
Expand Down
3 changes: 3 additions & 0 deletions pkg/ddl/job_scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,9 @@ func insertDDLJobs2Table(ctx context.Context, se *sess.Session, jobWs ...*JobWra
jobW.FillArgs(jobW.JobArgs)
}
injectModifyJobArgFailPoint(jobWs)

logutil.DDLLogger().Info("Debug ddl job", zap.Bool("jobArgs is nil", jobW.JobArgs == nil))

b, err := jobW.Encode(true)
if err != nil {
return err
Expand Down

0 comments on commit a72216c

Please sign in to comment.