Commit Graph

219 Commits

Author SHA1 Message Date
4314687305 *: Update bootstrap and support pause user DDL when upgrading TiDB (#43666)
close pingcap/tidb#43665
2023-05-10 17:07:21 +00:00
93966501e5 session: change some privilege columns to case-insensitive (#43443)
close pingcap/tidb#41048
2023-04-27 12:29:53 +00:00
91bf358f7e session: add mock upgrading code for testing (#43419)
close pingcap/tidb#43418
2023-04-26 10:05:52 +00:00
7c5e7ea851 linter: enable revive for session (#43420)
ref pingcap/tidb#40786
2023-04-26 05:53:52 +00:00
0b8f8807d0 *: add a new variable to control whether to invalidate plan cache when related table analyzed (#43390)
close pingcap/tidb#43295
2023-04-25 10:31:54 +00:00
2021b31bdc *: support error handling for distributed adding index (#43075)
close pingcap/tidb#42436, close pingcap/tidb#43029
2023-04-20 17:35:20 +08:00
d6dfb1607c copr: set the default value of load-based replica read threshold to 1s (#43149)
close pingcap/tidb#43148
2023-04-20 01:01:19 +08:00
cd33faf209 planner: enable non-prep plan cache by default (#43145)
ref pingcap/tidb#36598
2023-04-19 21:25:20 +08:00
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +08:00
897603148b disttask: Add task_key column to mysql.tidb_global_task (#42636)
close pingcap/tidb#42610
2023-03-29 00:04:54 +08:00
5c7db3578d resource_control: init default resource group without ddl (#42478)
close pingcap/tidb#42403
2023-03-23 14:18:42 +08:00
8d8d608093 bootstrap: move LOAD DATA system table into bootstrap (#42343)
ref pingcap/tidb#40499
2023-03-17 12:56:47 +08:00
8aa4a899a3 session: set tidb_enable_null_aware_anti_join to ON when upgrading to v7.0 (#42272)
close pingcap/tidb#42271
2023-03-16 10:02:40 +08:00
a86fd29f1f *: visible default resource group (#41606)
close pingcap/tidb#40875
2023-03-14 20:50:39 +08:00
cc54d1bba1 txn, session: Rename Aggressive Locking to Fair Locking and enable by default for new clusters (#42108)
ref pingcap/tidb#42107, close pingcap/tidb#42147
2023-03-14 15:54:39 +08:00
6c03f5e163 *: implement a global task manager and a sub task manager to handle the read/write of global task table and sub-task table (#41979)
close pingcap/tidb#41984
2023-03-13 12:42:37 +08:00
53f15f6ed7 session: set tidb_stats_load_pseudo_timeout to ON when upgrade to v6.5 (#42066)
close pingcap/tidb#42078
2023-03-10 12:33:12 +08:00
49bf4ce6d9 planner: set the tidb_opt_advanced_join_hint to off when upgrade (#42016)
ref pingcap/tidb#36600
2023-03-08 20:45:12 +08:00
33c34f832c bootstrap: add more tests for initialize-sql-file (#41888)
ref pingcap/tidb#35624
2023-03-06 13:43:12 +08:00
5df1913e0f session: fix upgrade (#40182)
close pingcap/tidb#41502
2023-02-16 21:30:02 +08:00
d0919b907a session: set tidb_server_memory_limit to defValue during bootstrap (#41438) 2023-02-16 15:28:37 +08:00
98ef95e66f session: enable foreign_key_checks/tidb_enable_foreign_key by default when upgrade (#41424) 2023-02-15 17:14:21 +08:00
696d7d06e9 *: REORGANIZE PARTITION (#38535) (#41096)
close pingcap/tidb#38535
2023-02-11 20:28:00 +08:00
09d3fa9d88 txn: Fix the issue that analyze panics when aggressive locking is enabled globally (#41196)
close pingcap/tidb#41194
2023-02-09 10:19:59 +08:00
15bac9ea91 ddl: show more jobs in the tidb_mdl_view (#40860)
close pingcap/tidb#40838
2023-02-03 17:19:56 +08:00
ab1e57650c session: fix bad log (#40948)
close pingcap/tidb#40947
2023-02-01 19:45:56 +08:00
9ebd766b53 util: add InTest to check whether to be in test (#40927)
close pingcap/tidb#40929
2023-02-01 15:27:56 +08:00
4686338d0e ttl: add table mysql.ttl_job_history to store ttl job histories (#40655)
close pingcap/tidb#40654
2023-01-29 10:19:53 +08:00
b61932461b ttl: submit ttl scan task to the system table (#40422)
close pingcap/tidb#40362, ref pingcap/tidb#40363
2023-01-13 15:51:46 +08:00
f7de8beede *: remove the support of the old ddl framework (#39684)
ref pingcap/tidb#39824
2022-12-30 18:30:18 +08:00
11f5c1791e *: add support for -initialize-sql-file on first bootstrap (#35625)
close pingcap/tidb#35624
2022-12-28 13:02:16 +08:00
fc714e2108 session: fix tidb_enable_gc_aware_memory_track after upgrade (#40173)
ref pingcap/tidb#39971, close pingcap/tidb#40174
2022-12-26 21:06:16 +08:00
388e008846 statistics: add source column for stats_meta_hisotry table (#39835) 2022-12-14 14:38:52 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
8e742bf972 bootstrap: increase current bootstrap version and fix comment (#39700)
close pingcap/tidb#39699
2022-12-07 16:38:04 +08:00
a7c4c71287 ttl: add system table for TTL status (#39315)
close pingcap/tidb#39272
2022-12-05 15:44:03 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00
89e9078fe1 planner: fix panic when upgrade from 4.0.16 to master (#39538)
close pingcap/tidb#39527
2022-12-02 01:26:02 +08:00
c3565a18b0 planner: set cost model to ver1 for clusters upgrading from pre-6.1 version (#39537) 2022-12-01 17:13:02 +08:00
d3f7ec0021 br: skip compatibility check for the mysql.user table when restoring (#39460)
close pingcap/tidb#38785
2022-12-01 14:40:01 +08:00
c88fd23f90 planner: add sqlDigest and planDigest field when show bindings (#39156)
ref pingcap/tidb#39199
2022-11-30 00:04:00 +08:00
78d677e288 session: remove date_add function from push down blacklist in new installed TiDB (#39324)
close pingcap/tidb#39293
2022-11-28 15:48:00 +08:00
ba16dba2c2 *: use a key to decide mdl is enabled or not (#39154) 2022-11-17 18:43:57 +08:00
5aa66cb5c2 domain: support dump plan replayer capture task during query (#39125)
ref pingcap/tidb#38779
2022-11-16 12:41:54 +08:00
238caf6571 *: add statistic lock/unlock function (#38387) 2022-11-11 22:25:54 +08:00
ddb43554cf domain: support plan_replayer_task system table (#39019)
close pingcap/tidb#38779
2022-11-11 15:19:53 +08:00
066e9c81d7 domain: support plan_replayer_status system table (#38957)
close pingcap/tidb#38779
2022-11-10 12:05:52 +08:00
490e4c4d60 session, sessionctx: enable metadata lock by default (#38866)
close pingcap/tidb#37275, ref pingcap/tidb#38890
2022-11-07 09:37:50 +08:00
114d8c1195 *: enable global memory control by default (#38899) 2022-11-04 21:36:01 +08:00