Commit Graph

69 Commits

Author SHA1 Message Date
17c7b90dc6 ddl: args v2 for create/drop/modify schema (#55919)
ref pingcap/tidb#53930
2024-09-10 06:20: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
Hu#
1256bbea23 *: Refactor runaway related code (#55202)
ref pingcap/tidb#54434
2024-09-03 05:38:29 +00:00
20454187d2 ddl: Global index more restrictions (#55440)
close pingcap/tidb#55424
2024-08-15 13:14:41 +00:00
281c75842e ddl: move structs related to scheduler out from ddlCtx & add job context (#55411)
ref pingcap/tidb#54436
2024-08-15 11:02:42 +00:00
3db0322bed ddl: support session level tidb_ddl_reorg_worker_cnt and batch_size (#55334)
close pingcap/tidb#55335
2024-08-13 04:34:32 +00:00
2fb61a5eb2 *: Require GLOBAL IndexOption for creating Global Index (#55264)
close pingcap/tidb#52994
2024-08-12 12:52:31 +00:00
4764397725 ddl: restructure schema version and server state syncer (#55368)
ref pingcap/tidb#54436
2024-08-12 11:43:39 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00
Hu#
d6dda3d3b7 runaway: add runaway tidb-side time checker (#54987)
close pingcap/tidb#51325
2024-08-12 04:03:01 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
dfa7ea6de0 *: replace ddl callback injection with failpoint (#55215)
ref pingcap/tidb#54436
2024-08-07 08:44:17 +00:00
52303d45cc ddl: replace OnJobRunAfter callback with failpoint (#55120)
ref pingcap/tidb#54436
2024-08-02 11:47:12 +00:00
da7ed5cdc9 ddl: remove unused code related to prev fast create impl (#55116)
ref pingcap/tidb#54436
2024-08-01 08:13:21 +00:00
68b529ebf5 ddl: replace OnJobUpdated callback with failpoint (#55091)
ref pingcap/tidb#54436
2024-08-01 04:34:26 +00:00
41bb8f57c7 ddl: integrate fast create table into normal general DDL workflow (#55025)
ref pingcap/tidb#54436
2024-07-31 15:59:50 +00:00
d38528acdc test: fix flaky test TestFailSchemaSyncer (#54958)
close pingcap/tidb#48758
2024-07-26 10:20:22 +00:00
Hu#
0dff610398 resource_control: support unlimited keyword when setting the resource group (#54704)
close pingcap/tidb#54413
2024-07-26 09:17:26 +00:00
9897ddda17 ddl: remove interceptor and replace some hook with failpoint (#54882)
ref pingcap/tidb#54436
2024-07-25 04:18:05 +00:00
8f98b4eba3 ddl: decouple executor part out from ddl (#54858)
ref pingcap/tidb#54436
2024-07-24 13:45:05 +00:00
d0c73aaac0 ddl: return error for canceled job (#54595) 2024-07-23 21:24:35 +08:00
e1626a9c5b planner: fix the issue of reusing wrong point-plan for "select ... for update" (#54661)
close pingcap/tidb#54652
2024-07-17 03:17:59 +00:00
06e0e17d98 *: fix ctrl+c can not kill tidb during statistics init (#54594)
close pingcap/tidb#54589
2024-07-15 09:26:59 +00:00
2934442a76 *: optimize the speed of full load (#54185)
ref pingcap/tidb#50959
2024-07-15 04:20:58 +00:00
0b9cd2fd22 infoschema: use maps.Clone to replace iterating (#54581)
ref pingcap/tidb#54436
2024-07-12 07:42:06 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
8c1ce99065 ddl: schedule as many jobs as possible in one round, simplify sql to query jobs (#54438)
ref pingcap/tidb#54436
2024-07-09 04:39:02 +00:00
9d9fa72dd7 ddl/tests/partition: fix an unstable test TestTruncatePartitionWithGlobalIndex (#54447)
close pingcap/tidb#53725
2024-07-04 13:11:58 +00:00
be16d49048 ddl: consider paused job when check runnable (#54419)
ref pingcap/tidb#53246, close pingcap/tidb#54383
2024-07-04 05:19:28 +00:00
770478537c store/copr: batch build coprocessor tasks (#54153)
close pingcap/tidb#53850
2024-06-24 14:10:21 +00:00
26d1096580 ddl: check table/database existance using infoschema only (#53882)
ref pingcap/tidb#53246
2024-06-17 10:50:46 +00:00
d5fece20f7 ddl: Regenerating AutoIDs for _tidb_rowid during Reorganize Partition (#53770)
close pingcap/tidb#53385
2024-06-13 04:09:00 +00:00
7a18952eb1 ddl: fix flaky test TestCancel & fix panic when we failed to get job in delivery2Worker (#53887)
close pingcap/tidb#36582
2024-06-11 07:45:00 +00:00
be86a2594e ddl: Reorganize partition supporting global index (#53277)
ref pingcap/tidb#45133
2024-06-04 08:16:26 +00:00
c79716efb7 tests: add some test cases for global index (#53630)
ref pingcap/tidb#45133
2024-05-29 11:26:50 +00:00
40c81c0fd5 *: fix global index work with memIndexReader executor (#52660)
close pingcap/tidb#52493
2024-04-28 11:23:57 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
10971ea5b0 ddl: use package-level logger which preset "category" field (#52885)
close pingcap/tidb#52883
2024-04-26 07:19:48 +00:00
62f3aea0f3 resource_control: Separate the mark for watch and rule and enhance testing (#52197)
ref pingcap/tidb#43691
2024-04-22 12:25:39 +00:00
5954be7da2 *: let our unit test cover the infoschema v2 code (#52156)
ref pingcap/tidb#50959
2024-04-12 06:58:53 +00:00
3fff0f2529 ddl: make alter database set tiflash replica skip sequence and view (#52348)
close pingcap/tidb#51990
2024-04-12 03:09:23 +00:00
ab90c771a2 resource_manager: fix test by checking system table status (#52456)
close pingcap/tidb#52455
2024-04-09 13:58:51 +00:00
61ba63982d executor: align behavior of foreign keys in "SHOW CREATE TABLE" with MySQL. (#51294)
ref pingcap/tidb#51837
2024-03-21 14:14:14 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
33d6b79163 ddl: fix partition definition for literal with non-utf8 charsets + binary column (#49229)
close pingcap/tidb#36433, close pingcap/tidb#49251
2024-03-08 04:02:06 +00:00
a59551b701 ddl: rename tidb_ddl_version to tidb_enable_fast_create_table (#51047)
close pingcap/tidb#50052
2024-02-28 08:39:31 +00:00
f505eda828 partition: fix exchange partition validition check for null value (#47208)
close pingcap/tidb#47167
2024-02-28 05:06:30 +00:00
80fd960939 resource_control: dont check runaway after resp (#51160)
close pingcap/tidb#51161
2024-02-20 09:57:28 +00:00
7805b9249a ddl: support create key partition with empty column (#51049)
close pingcap/tidb#51004
2024-02-08 09:20:46 +00:00
fce2805f2a planner: skip MDL when analyzing table (#50928)
close pingcap/tidb#47475
2024-02-08 07:17:46 +00:00