Commit Graph

78 Commits

Author SHA1 Message Date
ecca340037 lightning: fix id too large after parallel import (#57398)
close pingcap/tidb#56814
2024-11-19 11:03:32 +00:00
3578e29613 lightning: job range keys and region split keys are 2 concepts (part 2) (#55759)
close pingcap/tidb#55374
2024-09-05 01:31:35 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
c65692b9b2 external: range job keys and region split keys are 2 concepts (part 1) (#55659)
ref pingcap/tidb#55374
2024-08-30 10:50:48 +00:00
ae9e196dae workerpool: add TaskMayPanic interface to remind caller handles panic (#55537)
ref pingcap/tidb#55497
2024-08-21 07:27:12 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
d49a6541db test: switch some failpoints to InjectCall (#53588)
ref pingcap/tidb#49008
2024-05-28 04:50:49 +00:00
f46db203f9 *: caller can use a fixed TS for fast reorg (#52993)
close pingcap/tidb#46986, ref pingcap/tidb#49233
2024-05-10 13:31:09 +00:00
d626b6adf0 disttask: fix scope can't set different value (#52627)
close pingcap/tidb#52441
2024-04-26 07:19:42 +00:00
72e5460ee8 lightning/importinto: fix insert err after import for AUTO_ID_CACHE=1 and SHARD_ROW_ID_BITS (#52712)
close pingcap/tidb#52654
2024-04-18 08:10:38 +00:00
76abd8b836 disttask,ddl: use subtask concurrency (#52286)
ref pingcap/tidb#49008
2024-04-02 04:24:16 +00:00
f2ea18c07f lightning: move lightning directory out of br (#52247)
ref pingcap/tidb#52182
2024-04-01 07:13:46 +00:00
ad63eb8d1e disttask: add StepExecFrameworkInfo as an example of Impl access Base (#52192)
ref pingcap/tidb#47006
2024-03-29 04:20:19 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
490e17c9ab importinto: add log for chunk checksum & replace codec with keyspace (#52054)
ref pingcap/tidb#49008
2024-03-25 05:45:46 +00:00
df79e5ca11 globalsort: opt merge step mem to run on 8c (#51924)
ref pingcap/tidb#50752
2024-03-22 10:36:50 +00:00
61c471487e globalsort: split files evenly in MergeOverlappingFiles (#51878)
ref pingcap/tidb#50752
2024-03-19 08:41:13 +00:00
5a2b8e8e1a importinto: pass kv store directly when rebase ids (#51850)
close pingcap/tidb#51848
2024-03-18 07:54:42 +00:00
222fe17e25 global sort: remove some unused code (#51811)
ref pingcap/tidb#50752
2024-03-15 12:48:40 +00:00
dbdae85432 importinto, disttask: allow multi import job & adjust total memory for cgroup v2 (#51575)
ref pingcap/tidb#49008
2024-03-14 05:05:09 +00:00
b55c855142 importinto: fix incorrect index kv group count when table have common handle (#51615)
ref pingcap/tidb#50752
2024-03-08 07:06:36 +00:00
911bcf16a8 importinto: calculate writer mem size using step resource & add a option for test (#51486)
ref pingcap/tidb#49008
2024-03-07 10:59:06 +00:00
6566269a35 disttask: refresh whole task info when state/step changed (#51426)
ref pingcap/tidb#49008
2024-03-05 11:11:06 +00:00
4182a418c8 *: save kv.Storage in import disttask components and use it (#51336)
ref pingcap/tidb#51337
2024-02-29 07:42:31 +00:00
332086ebc8 importinto: remove separate wait routine in detached mode and refactor (#51335)
ref pingcap/tidb#49008
2024-02-27 09:05:09 +00:00
23190ff540 disttask: enlarge max-concurrent-task and optimize scheduler/executor loop (#51241)
ref pingcap/tidb#49008
2024-02-27 03:32:01 +00:00
a84d57c7da disttask: extract task/subtask base (#51231)
ref pingcap/tidb#49008
2024-02-23 03:55:57 +00:00
e34702f10e disttask: unify task order naming to 'rank' & refactor failpoint (#51136)
ref pingcap/tidb#49008
2024-02-21 03:37:57 +00:00
65d57c0a43 import into: log checksum for each KV group (#50871)
ref pingcap/tidb#50832
2024-02-18 08:55:55 +00:00
ba778070a2 external: onefile writer should have onClose, and add KV count to WriteSummary (#50955)
ref pingcap/tidb#50832
2024-02-04 09:32:43 +00:00
cac449b337 ddl, disttask: collect summary for each subtask (#50838)
ref pingcap/tidb#48795
2024-02-01 07:58:54 +00:00
b5542c5ed2 disttask: decouple handleExecutableTask from manager & separate executor context (#50724)
ref pingcap/tidb#49008
2024-01-30 05:22:52 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
87ffb95856 disttask: replace spool with waitgroup (#50664)
ref pingcap/tidb#49008
2024-01-24 04:00:21 +00:00
7ce7fb2a85 external: round robin to use multiple GCS clients (#50408)
close pingcap/tidb#50413
2024-01-23 09:43:49 +00:00
d1e6f1c291 disttask: remove revert subtask (#50550)
close pingcap/tidb#50549
2024-01-22 10:25:49 +00:00
8bb4d2f412 disttask: move step2Str to framework (#50565)
ref pingcap/tidb#49008
2024-01-22 03:12:19 +00:00
890230e17e disttask: add available resource param to step executor (#50475)
ref pingcap/tidb#49008
2024-01-17 11:51:16 +00:00
5fee75661a lightning: use SprintfWithIdentifier to process strings with identifier (#50434)
ref pingcap/tidb#30699
2024-01-17 08:34:47 +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
e87d94904a lightning: always use PD HTTP client to access PD HTTP API (#50078)
ref pingcap/tidb#49865
2024-01-12 08:25:56 +00:00
17d65b9317 disttask: change extra running subtasks to pending (#50266)
ref pingcap/tidb#49008
2024-01-12 03:48:25 +00:00
e15c517afa import/index: adjust concurrency using cpu-count of managed node depends on use case (#50091)
ref pingcap/tidb#49008
2024-01-10 08:31:54 +00:00
386bb43fea disttask: consider node load when schedule/balance subtasks (#49758)
ref pingcap/tidb#49008
2024-01-09 09:06:24 +00:00
237b2c7d50 disttask: fix panic in task executor/scheduler (#49877)
close pingcap/tidb#49869
2024-01-02 12:18:32 +00:00
8eed0437b3 disttask: split task and subtask state (#49896)
ref pingcap/tidb#48795
2023-12-29 10:04:58 +00:00
84d9bc3b6a importinto: move post-process code from disttask pkg to importer pkg (#49884)
ref pingcap/tidb#49883
2023-12-29 07:27:35 +00:00
05a6702ef6 global sort: add 2-level iterator for merge property and range splitter (#49768)
close pingcap/tidb#49717
2023-12-28 08:48:28 +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
3e9bd47dfd disttask: maintain managed nodes separately (#49623)
ref pingcap/tidb#49008
2023-12-22 08:51:24 +00:00