Commit Graph

23 Commits

Author SHA1 Message Date
be57d2fd87 disttask: mock to start multiple scheduler/taskexecutor (#50801)
ref pingcap/tidb#49008
2024-01-30 09:48:23 +00:00
b5542c5ed2 disttask: decouple handleExecutableTask from manager & separate executor context (#50724)
ref pingcap/tidb#49008
2024-01-30 05:22:52 +00:00
549a5d9bba test: fix flaky case (#50525)
close pingcap/tidb#50524
2024-01-18 04:54:18 +00:00
720983a20c disttask: merge transfer task/subtask (#50311)
ref pingcap/tidb#48795, close pingcap/tidb#50310
2024-01-15 10:28:46 +00:00
986b00849c disttask: storage.util move to testutil (#50252)
ref pingcap/tidb#48795
2024-01-11 05:28:55 +00:00
56c619f1f5 disttask: remove useless task state (#50071)
ref pingcap/tidb#48795
2024-01-09 10:49:53 +00:00
81f289d401 disttask: add tests for dist role (#50115)
ref pingcap/tidb#48795
2024-01-09 07:24:24 +00:00
60dbb615ab disttask: add notify when task submitted or changed & refactor test (#49805)
ref pingcap/tidb#49008
2023-12-28 06:42:28 +00:00
5519033a6c disttask: insert subtasks in batch (#49282)
close pingcap/tidb#49281
2023-12-14 03:15:21 +00:00
64430c359e disttask: rename dispatcher to scheduler (#49182)
close pingcap/tidb#49125
2023-12-13 03:33:22 +00:00
b21bb3e7a7 disttask: rename scheduler to TaskExecutor (#49025)
ref pingcap/tidb#48795
2023-12-01 11:58:19 +00:00
3b419c5adc disttask: add fields for resource control & remove global/g prefix from task (#49020)
close pingcap/tidb#49019
2023-12-01 04:35:48 +00:00
a1bb7aa682 disttask: test scheduler with real store and refine tests (#49000)
ref pingcap/tidb#48795
2023-11-29 14:16:17 +00:00
86df166bd3 importinto: make cancel wait task done and some fixes (#48928)
close pingcap/tidb#48736
2023-11-29 09:59:48 +00:00
845b20cbc9 disttask: mock dispatcher ext in UT (#48968)
ref pingcap/tidb#48795
2023-11-29 05:20:49 +00:00
01d441ef8a disttask: fix keep reporting error when cancel pending task (#48906)
close pingcap/tidb#48890
2023-11-27 06:16:15 +00:00
844ba426b9 disttask: fix subtask finished immediately and mark success when encountering network partition (#48660)
ref pingcap/tidb#46258, close pingcap/tidb#48649
2023-11-17 13:00:48 +00:00
d4618d4a5f disttask: fix wrong plan when filterByRole (#48366)
close pingcap/tidb#48368
2023-11-08 06:23:13 +00:00
9224f62ef8 disttask: fix removing meta when met network partition for so long then recover from it (#48005)
close pingcap/tidb#47954
2023-10-27 03:11:05 +00:00
caaa35a05e disttask/ddl: refine add index dispatcher for error handling (#47886)
ref pingcap/tidb#46258, close pingcap/tidb#47932
2023-10-23 14:36:33 +00:00
46e53cdd31 disttask: cleanup framework meta when nodes shutdown (#47536)
ref pingcap/tidb#46258
2023-10-16 10:16:58 +00:00
b3dcf596b2 disttask: define TaskType/TaskState/Step instead of string/int64 (#47611)
ref pingcap/tidb#46258
2023-10-16 06:12:27 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00