Commit Graph

85 Commits

Author SHA1 Message Date
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
761b5926a7 session: reserve bootstrap versions for v8.1.x (#54266)
ref pingcap/tidb#53440, close pingcap/tidb#54267
2024-06-27 05:02:52 +00:00
432bb79f97 *: remove some usages of SchemaTables (#54199)
ref pingcap/tidb#50959
2024-06-26 12:01:24 +00:00
6fe4f9e470 variable: add system variable 'tidb_resource_control_strict_mode' (#54033)
ref pingcap/tidb#53440
2024-06-20 04:43:17 +00:00
d1b8c5b4f1 ddl: refine fatal log when upgrade failed because of tidb_enable_dist_task (#53392) 2024-05-22 02:23:45 +00:00
125829c452 session: set sql security of tidb_mdl_view to 'invoker' (#53265)
close pingcap/tidb#53292
2024-05-16 11:13:20 +00:00
4538a216d3 ddl: add owner_id field to tidb_mdl_info to avoid unexpected writes (#53234)
close pingcap/tidb#53073
2024-05-15 11:43:13 +00:00
af825ac7d8 ddl,mdl: fix the issue that the table_ids overlap regex is not correct (#52879)
close pingcap/tidb#52758
2024-05-11 04:29:39 +00:00
d626b6adf0 disttask: fix scope can't set different value (#52627)
close pingcap/tidb#52441
2024-04-26 07:19:42 +00:00
7308ff1b10 disttask: enable on default (#52401)
ref pingcap/tidb#52441
2024-04-12 03:51:23 +00:00
422ae46b6e lightning/br: move some common code into outer pkg (#52191)
ref pingcap/tidb#52182
2024-03-29 07:03:55 +00:00