Skip to content

Commit

Permalink
Revert changes done to engine for the moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverS929 committed Nov 28, 2024
1 parent af0411b commit 86f36fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions engine/jobmaster/dm/task_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ func (tm *TaskManager) allFinished(ctx context.Context) bool {
if runningTask.Unit != frameModel.WorkerDMLoad {
return false
}
case dmconfig.ModeDump, dmconfig.ModeLoad:
// passing through, as long as the stage is done
case dmconfig.ModeDump:
default:
return false
}
Expand Down
3 changes: 0 additions & 3 deletions engine/jobmaster/dm/worker_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,6 @@ var workerSeqMap = map[string][]frameModel.WorkerType{
dmconfig.ModeDump: {
frameModel.WorkerDMDump,
},
dmconfig.ModeLoad: {
frameModel.WorkerDMLoad,
},
dmconfig.ModeLoadSync: {
frameModel.WorkerDMLoad,
frameModel.WorkerDMSync,
Expand Down

0 comments on commit 86f36fc

Please sign in to comment.