Commit Graph

165 Commits

Author SHA1 Message Date
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
5aad7df941 *: use a unified session pool definition AMAP (#55170)
ref pingcap/tidb#54434
2024-08-05 12:23:08 +00:00
6e03d23791 infosync: correct the PD API call of GetLabelRules (#55189)
close pingcap/tidb#55188
2024-08-05 10:30:38 +00:00
52b4c8a27b domain,infoschema: avoid v1/v2 switch when loading snapshot infoschema (#55129)
close pingcap/tidb#55114
2024-08-03 14:06:37 +00:00
273ca667ab *: remove limiting process id for auto analyze (#54902)
ref pingcap/tidb#53460
2024-07-29 16:01:18 +00:00
247b06e46c meta,infoschema: fix a bug that after HasTemporaryTable() wrong infoschema v2 full load (#54879)
ref pingcap/tidb#50959
2024-07-29 08:32:47 +00:00
108e98ae8f ddl: init global vars from system tables before start domain (#54913)
close pingcap/tidb#54860, close pingcap/tidb#54868
2024-07-29 07:37:17 +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
6c3e25ebfe *: avoid using Tables field of model.DBInfo, use API instead (#52302)
close pingcap/tidb#52234
2024-07-25 10:57:06 +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
3148c80297 *: reset infoschema v2 data before a full load (#54831)
close pingcap/tidb#54796
2024-07-24 10:34:41 +00:00
Hu#
560e92ed72 runaway: change tidb_runaway_watch time type to UTC (#54768)
ref pingcap/tidb#54434, close pingcap/tidb#54770
2024-07-23 08:04:34 +00:00
031105278f ddl: query since min job id (#54693)
ref pingcap/tidb#54436
2024-07-22 07:40:33 +00:00
0ad8b849ef domain: fix race on cancelFns (#54701)
close pingcap/tidb#54690
2024-07-18 09:19:39 +00:00
320d0f41db *: don't save table IDs in schema diff of FLASHBACK DATABASE (#54665)
close pingcap/tidb#54415
2024-07-18 07:52:37 +00:00
8cd82a44ad infoschema_v2: init schema cache size in meta (#54530)
ref pingcap/tidb#50959
2024-07-17 11:18:00 +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
8b78a4faa3 ddl: improve FLASHBACK DATABASE for many table case (#54439)
close pingcap/tidb#54415
2024-07-13 05:52:27 +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
fa9609606e domain,infoschema: fix the co-exist of infoschema v1 and v2 causing memory leak (#54291)
ref pingcap/tidb#50959
2024-07-09 07:43:33 +00:00
bf50430eee session, executor, domain: use the SQL start time to calculate the runaway deadline (#54496)
ref pingcap/tidb#54434
2024-07-08 10:12:02 +00:00
6421f86f84 domain: refine the runaway code and fix typos (#54435)
ref pingcap/tidb#54434
2024-07-04 07:49:28 +00:00