Commit Graph

95 Commits

Author SHA1 Message Date
cfe9c12c9a bootstrap: use reserved ID for system schemas/tables in nextgen (#62570)
ref pingcap/tidb#61702
2025-07-24 18:46:25 +00:00
ad4f3ea0f7 bootstrap: refactor the system tables/dbs creation (#62540)
ref pingcap/tidb#61702
2025-07-23 05:07:17 +00:00
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
679facdc8b *: add log for bootstrap part and init USR1 single handler early to help diagnose (#61997)
ref pingcap/tidb#61702
2025-06-26 05:20:00 +00:00
43c7806b45 session: fix initGlobalVariableIfNotExists function forget call rs.close (#61890)
close pingcap/tidb#61884
2025-06-21 01:35:48 +00:00
416fb0d015 bootstrap: use versioned upgrade function (#61830)
ref pingcap/tidb#61702
2025-06-19 15:56:48 +00:00
8e6d77ae27 dxf: add keyspace name to global task table (#61755)
ref pingcap/tidb#61702
2025-06-18 16:41:39 +00:00
fa3c79b408 br: enable parallel restore (#58724)
close pingcap/tidb#58725
2025-06-03 02:36:14 +00:00
cac7292fef br: add restoreid to idmap table (#61278)
close pingcap/tidb#61277
2025-05-27 14:11:04 +00:00
1b0a54ca86 session: gopls modernize (#60856)
close pingcap/tidb#60855
2025-05-07 22:47:30 +00:00
1279a9ffec statistics: speed up the backgroud stats update worker (#58490)
ref pingcap/tidb#57868
2025-04-07 11:50:10 +00:00
2347e977a2 planner: add an unique key into mysql.bind_info (#60296)
ref pingcap/tidb#60148
2025-04-02 09:09:06 +00:00
60ade6ef17 planner: update bind_info binding columns from TEXT to LONGTEXT to support long bindings (#60007)
close pingcap/tidb#59986
2025-03-12 10:46:49 +00:00
87f6c7b7e4 executor: introduce max_user_connections (#59197)
close pingcap/tidb#59203
2025-02-26 05:02:00 +00:00
246a241621 dxf: add manual recovery mode (#59641)
ref pingcap/tidb#59640
2025-02-24 09:42:51 +00:00
4db34bc3e2 workload-based learning: save the metrics and create new workload_values table (#59126)
ref pingcap/tidb#58131
2025-02-20 03:58:34 +00:00
9099090462 dxf: add tidb_max_dist_task_nodes to specify max node count (#58937)
close pingcap/tidb#58944
2025-02-18 05:12:25 +00:00
f6bf8e8bec bootstrap: add cluster_id to the mysql.tidb table (#59511)
close pingcap/tidb#59476
2025-02-13 17:30:02 +00:00
a2b6578b42 planner: refactor some code related to binding (#59272)
ref pingcap/tidb#51347
2025-02-07 03:58:58 +00:00
fc8bdb54c6 session: remove distributed tasks limitation from upgrade (#56773)
close pingcap/tidb#54061
2025-02-05 18:23:51 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
8e1a47dddb session: add index on 'user' field for mysql tables (#57470)
ref pingcap/tidb#55563
2024-12-26 05:44:06 +00:00
3e28938322 log: Add upgrade progress information to the logs (#58246)
ref pingcap/tidb#58255
2024-12-20 18:12:48 +00:00
dde1dcd750 session: add indexes for mysql.analyze_jobs (#58134)
close pingcap/tidb#57996
2024-12-17 10:05:42 +00:00
9ff83eb378 dxf: systable and scheduler change for modify task at runtime (#57557)
ref pingcap/tidb#57497
2024-11-25 07:29:05 +00:00
56e7093a9d ddl: use a global owner manager instance for DDL, to avoid owner change (#57179)
ref pingcap/tidb#57185
2024-11-11 05:12:48 +00:00
bfd7da385d ddl: enable fast create table on default (#57215)
close pingcap/tidb#57214
2024-11-08 13:19:19 +00:00
aa83e4e0d5 ddl: remove useless code related to legacy job queue (#56689)
ref pingcap/tidb#54436
2024-11-05 00:57:39 +00:00
6679c7449d ddl: mitigate the issue that multiple owner might exist during force to be owner (#56963)
close pingcap/tidb#56924
2024-10-31 16:19:55 +00:00
43b4336aef session: upgrade from old cluster infoschema v2 should not be used (#56545)
close pingcap/tidb#56544
2024-10-21 03:51:48 +00:00
7e00e81a3f infoschema_v2: remove schemaTableInfos call of DeadTableLockChecker (#55956)
ref pingcap/tidb#55394
2024-10-13 06:44:55 +00:00
5564c872b8 session: make all DDLs reentrant in upgradeToVer212 (#56605)
close pingcap/tidb#56574
2024-10-12 16:09:57 +00:00
b72b6c2313 session: fix bootstrap panic when upgrading to master (#56517)
close pingcap/tidb#56489
2024-10-12 02:14:59 +00:00
8bacf9cce1 session: fix wrong etcd mutex key (#56371)
close pingcap/tidb#56375
2024-09-29 06:36:10 +00:00
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +00:00
a06f6aacb5 *: force the new upgrading tidb to be owner (#51285)
close pingcap/tidb#51269
2024-09-25 20:24:15 +00:00
e5c98671a4 ddl: support scatter region in cluster/global level (#56157)
ref tikv/pd#8424, ref pingcap/tidb#54886, close pingcap/tidb#55184
2024-09-25 15:25:29 +00:00
53a3d20a3c planner, sctx: open enhanced index join pattern by default (#56172)
ref pingcap/tidb#47233
2024-09-24 16:55:45 +00:00
Hu#
19caf52fad runaway: Add processed_keys and request_ru to check (#55147)
ref pingcap/tidb#54434
2024-09-24 07:31:41 +00:00
8106d9304a planner: add a new sys table to store index advisor results and a new table to store kernel options (#56188)
ref pingcap/tidb#12303
2024-09-23 17:29:17 +00:00
312ed798f8 session: extend the length of action column to fix the truncation (#56109)
close pingcap/tidb#56106
2024-09-23 04:04:09 +00:00
027f01b7ef br: migrate pitr id map to the system table mysql.tidb_pitr_id_map (#55871)
ref pingcap/tidb#55870
2024-09-13 07:28:59 +00:00
Hu#
bb3456b076 runaway: Mitigation tidb_runaway_queries flooding (#55664)
ref pingcap/tidb#54434
2024-09-13 03:16:18 +00:00
c9baef45d4 pkg/parser: support SWITCH_GROUP syntax for runaway watch (#54804)
ref pingcap/tidb#54434
2024-09-04 16:59:43 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
6854e60698 session, config, sessionctx, executor: Set tidb_opt_projection_push_down to false when tidb upgrades from versions older than 8.3.0 to 8.3.0 and later (#54861)
ref pingcap/tidb#51876
2024-07-25 01:54:05 +00:00
60cc666072 session: add summary field to tidb_background_subtask_history (#54787)
close pingcap/tidb#54241
2024-07-22 06:57:10 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00