Skip to content

Commit

Permalink
ddl: disable fast reorg and dist task execution for system tables (#4…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Apr 16, 2024
1 parent 7775d4c commit 2632c78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ddl/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,10 @@ func pickBackfillType(ctx context.Context, job *model.Job, unique bool, d *ddlCt
job.ReorgMeta.ReorgTp = model.ReorgTypeTxn
return model.ReorgTypeTxn, nil
}
if hasSysDB(job) {
job.ReorgMeta.ReorgTp = model.ReorgTypeTxn
return model.ReorgTypeTxn, nil
}
if ingest.LitInitialized {
available, err := ingest.LitBackCtxMgr.CheckAvailable()
if err != nil {
Expand Down

0 comments on commit 2632c78

Please sign in to comment.