Commit Graph

189 Commits

Author SHA1 Message Date
323216072b test: fix unstable case (#57433)
close pingcap/tidb#56851
2024-11-18 04:46:19 +00:00
0dcd8e7bef planner: evict all cached plans after disabling instance plan cache (#57341)
ref pingcap/tidb#54057
2024-11-13 10:27:35 +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
d0c3c33225 domain: set right order to compaign stats owner (#57200)
close pingcap/tidb#57199
2024-11-07 10:43:13 +00:00
865213c94e session: make TxnInfo() return even if process info is empty (#57044)
close pingcap/tidb#57043
2024-11-05 16:04:11 +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
a22fc590cc statistics: add the refresher as a stats owner listener (#56998)
ref pingcap/tidb#55906
2024-10-31 08:48:34 +00:00
cf5a61709d *: maintain the active users for privilege data (#56709)
ref pingcap/tidb#55563
2024-10-30 13:30:13 +00:00
900cd39d53 ddl: enable the ddl notifier by default (#56864)
ref pingcap/tidb#55722
2024-10-28 14:05:31 +00:00
c7ea37618e statistics: register the PQ as a ddl subscriber (#56816)
ref pingcap/tidb#55722
2024-10-25 14:37:24 +00:00
3ebfad0861 ddl: add the ddl notifier as a listener to the stats owner (#56795)
ref pingcap/tidb#55722
2024-10-25 02:54:48 +00:00
ba5823bb1c *: move ddl notifier as domain member and test pub/sub (#56776)
ref pingcap/tidb#55722
2024-10-23 04:01:33 +00:00
53a4c3eded planner: play replay load restore the table with foreign key with right order. (#56457)
close pingcap/tidb#56456
2024-10-16 08:21:53 +00:00
73ec6bb21a domain: fix unexpected "infoschema v1/v2 switch" log (#56527)
close pingcap/tidb#56525
2024-10-11 03:55:04 +00:00
1eb0c8c123 domain: fix play replay dump cannot save the table in the foreign key's reference (#56512)
close pingcap/tidb#56458
2024-10-09 13:38:43 +00:00
8c4bab1963 *: upgrade go1.23.2 (#51126)
close pingcap/tidb#50765
2024-10-09 05:15:46 +00:00
6e8f27f9ce *: support the vector index (#56409)
close pingcap/tidb#55693
2024-09-30 03:06:28 +00:00
bb9f4d185e statistics: avoid using infoschema when to init stats (#54514)
close pingcap/tidb#55851
2024-09-30 02:14:39 +00:00
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +00:00
c56694c4aa config: make tidb_enable_stats_owner controlling the stats owner (#55592)
close pingcap/tidb#55989
2024-09-27 15:34:04 +00:00
119e765527 *: Add sysvar tidb_tso_client_rpc_mode for setting TSO RPC concurrency (#56292)
close pingcap/tidb#54960
2024-09-26 05:41:30 +00:00
0d5e0e921f domain: move UpdateStatsHealthyMetrics into updateStatsWorker (#55386)
ref pingcap/tidb#54552
2024-09-25 15:25:22 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
3ae6470ea7 planner: update the variable name related to Instance Plan Cache (#56068)
ref pingcap/tidb#54057
2024-09-18 02:27:15 +00:00
ae8f977a34 domain,infoschema: fix 'show tables' after snapshot read (#55856)
close pingcap/tidb#55835
2024-09-11 13:04:50 +00:00
c9e608a08a executor: add tests for status returned by show placement (#55948)
close pingcap/tidb#55945
2024-09-09 10:41:26 +00:00
722fbdc679 ddl: fetch schemas in work pool in case of reporting a error in one goroutine. (#55841)
ref pingcap/tidb#54436
2024-09-09 10:40:52 +00:00
6498d7e154 planner: hide instance plan cache eviction log if no plan is evicted (#55918)
ref pingcap/tidb#54057
2024-09-06 09:16:54 +00:00
b04ea3a094 domain: load all non-public tables into infoschema (#55142)
close pingcap/tidb#54906
2024-09-05 05:12:50 +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
b257e9bf8d infoschema: set the capacity of sieve to 0 for disabling infoschema v2 (#55531)
close pingcap/tidb#55490
2024-08-21 15:06:12 +00:00
adc7597a35 *: replace maps.Copy which is for map clone with std maps.Clone (#55530)
close pingcap/tidb#55527
2024-08-20 11:19:49 +00:00
49828bd1c1 infoschema: add WithRefillOption for TableByName and TableByID (#55511)
ref pingcap/tidb#50959
2024-08-20 11:19:42 +00:00
85235b3672 domain: change groupSize in splitForConcurrentFetch (#55518)
ref pingcap/tidb#50959
2024-08-20 09:13:49 +00:00
e30408e869 variable: mark analyze-partition-concurrency-quota as deprecated (#55409)
ref pingcap/tidb#55043
2024-08-20 02:24:12 +00:00
afd7b979e5 domain/rg: organize and enhance the code of RunawayChecker (#55331)
ref pingcap/tidb#54434
2024-08-14 10:07:38 +00:00
c48e53a9e0 kv: reduce the distsql concurrency if the runaway query action is COOLDOWN (#55310)
ref pingcap/tidb#55029
2024-08-14 07:18:07 +00:00
594d02af68 planner: add more log and metrics for instance plan cache eviction (#55377)
ref pingcap/tidb#54057
2024-08-13 08:57:09 +00:00
4764397725 ddl: restructure schema version and server state syncer (#55368)
ref pingcap/tidb#54436
2024-08-12 11:43:39 +00:00
4baaa182ed infoschema: update two tests to make them robust and a tiny fix (#55362)
ref pingcap/tidb#50959, close pingcap/tidb#55132
2024-08-12 11:43:31 +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
fd3ad810ae *: support to query init stats percentage from http api (#55323)
close pingcap/tidb#53564
2024-08-09 08:36:49 +00:00
b066365ef3 *: kill auto analyze out of the auto analyze time windows (#55062)
close pingcap/tidb#55283
2024-08-09 05:35:12 +00:00
dfa7ea6de0 *: replace ddl callback injection with failpoint (#55215)
ref pingcap/tidb#54436
2024-08-07 08:44:17 +00:00
d940b7ddc2 *: init ctx for extractWorker (#55228)
close pingcap/tidb#55217
2024-08-06 14:48:40 +00:00
ffaefa9318 planner: add metrics for instance plan cache (#55218)
ref pingcap/tidb#54057
2024-08-06 10:27:46 +00:00
d383367ead planner: add new variables for instance plan cache (#55193)
ref pingcap/tidb#54057
2024-08-06 02:51:39 +00:00