Commit Graph

621 Commits

Author SHA1 Message Date
fe4a81df82 sessionctx: add validation for tidb_enable_plan_replayer_continues_capture (#40787) 2023-01-29 17:15:54 +08:00
5b82653605 *: Setup Global Resource Controller (#40732)
close pingcap/tidb#40731
2023-01-20 17:03:50 +08:00
Hu#
38a7c6220e mockstore: update pd/client and client-go to repair kvproto compatibility (#40597)
close pingcap/tidb#40598
2023-01-20 14:29:50 +08:00
6b752fe805 domain: let background process unify wg.Run (#40640) 2023-01-18 14:09:51 +08:00
f7d35abd12 domain: use enhanced waitGroupWrapper in domain #40606 (#40626)
ref pingcap/tidb#40330
2023-01-17 20:03:49 +08:00
1083f79f51 handle: use separete ctx for initStats (#40604)
close pingcap/tidb#40548
2023-01-16 18:23:48 +08:00
22b43ff396 domain: add timeout for updateStatsWorker exit process (#40434)
* fix

* fix

* fix

* fix

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
2023-01-12 14:46:33 +08:00
7beec04214 sysvar: add switch for plan replayer capture using historical stats (#40492)
* add switch

* fix

* fix

* fix

Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 19:44:33 +08:00
668881fac5 executor: add partition table testcase for historical stats (#40453)
* add partition table testcase

* add partition table testcase

* fix lint

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 15:46:33 +08:00
10f00936b7 keyspace: introduce keyspace conf and etcd path (#40269)
ref pingcap/tidb#40425
2023-01-10 18:48:22 +08:00
9826913de0 ttl: Add CommandClient to trigger TTL job manually (#40346)
close pingcap/tidb#40345
2023-01-10 11:48:22 +08:00
7dbf1a5033 ttl: add ttl goroutine exit log (#40416)
close pingcap/tidb#40415
2023-01-09 18:12:22 +08:00
408a46654d session: fix deadlock when init domain failed (#40409)
close pingcap/tidb#40408
2023-01-09 15:50:22 +08:00
b477b1c946 *: Supports create/alter/drop resource group (#40188)
ref pingcap/tidb#38825
2023-01-09 13:44:22 +08:00
f9f72688fb *: fix static pruning partition table in disaggregated tiflash mode (#40238)
close pingcap/tidb#40239
2023-01-06 19:28:21 +08:00
005c8d8ef8 *: remove the support of the amending transaction (#39714)
close pingcap/tidb#40381
2023-01-06 18:26:21 +08:00
b8490bc9ac domain: let plan replayer dump support recording stats mem status (#40334) 2023-01-06 15:30:21 +08:00
5eea731db0 util: use go-deadlock to find deadlock (#40288)
close pingcap/tidb#40293
2023-01-05 15:10:20 +08:00
d0272703f3 statistics: support historical stats dump partition table (#40310) 2023-01-05 11:52:20 +08:00
3e6499b568 sysvar: fix circular dependency in rebuildSysVarCache leading to deadlock (#40283)
close pingcap/tidb#40240
2023-01-04 11:20:20 +08:00
f483b39c34 metrics: add metrics for plan replayer and historical stats (#40271) 2023-01-04 10:50:20 +08:00
25a247935b session: make plan replayer capture support prepared stmt (#40167)
close pingcap/tidb#40161
2023-01-03 11:32:19 +08:00
6dff69f680 ddl: Support flashback cluster with ddl history (#40209)
ref pingcap/tidb#40026
2022-12-29 21:02:19 +08:00
1a7b3953c4 ttl, domain: setup a customized session pool with stats collector (#40171)
close pingcap/tidb#40109
2022-12-29 17:28:18 +08:00
fc241b294e domain: revise plan replayer process log (#40126) 2022-12-26 20:02:15 +08:00
5fdd3bd56a server: support download plan replayer continues capture file (#40085) 2022-12-22 17:42:54 +08:00
0fe61bd41a *: prevent cursor read from being cancelled by GC (#39950)
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
3aba336048 domain: Support plan replayer continus capture (#39926) 2022-12-15 16:34:52 +08:00
0f95a5a4b3 domain, statistics: periodically update stats healthy distribution (#39739)
close pingcap/tidb#39349
2022-12-15 12:14:52 +08:00
4b3a4424e1 domain: support dump sql meta in plan replayer (#39863)
close pingcap/tidb#39883
2022-12-13 23:22:51 +08:00
621115bf67 ttl, variables: add system variables for ttl job schedule (#39727)
close pingcap/tidb#39725
2022-12-13 14:28:51 +08:00
965ed00d66 ttl: implement ttl job schedule framework (#39472)
close pingcap/tidb#39471
2022-12-12 15:50:51 +08:00
c13dfe3ad9 domain: fix data race in the MockInfoCacheAndLoadInfoSchema (#39802)
close pingcap/tidb#39801
2022-12-12 11:24:51 +08:00
4c04abce79 *: support disaggregated tiflash (#33535)
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00
631f32d2d5 executor: support plan replayer capture <sql> <*> (#39754) 2022-12-08 21:02:05 +08:00
a0a16d7c27 domain: support plan replayer dump workers running in concurrency (#39347)
ref pingcap/tidb#38779
2022-12-07 13:38:03 +08:00
be09b67ae7 domain: save action type directly instead of left shift it (#39660)
close pingcap/tidb#39656
2022-12-07 10:46:03 +08:00
1f04e14bef domain: support dump historical stats in background job (#39417) 2022-12-01 13:04:01 +08:00
d0b72a2cc7 executor: split hashjoin part5 (#39386)
ref pingcap/tidb#39061
2022-11-29 12:25:59 +08:00
43b1c61a68 ddl, domain: handle the corner case that putting the MDL key to etcd failed (#39418)
close pingcap/tidb#39416
2022-11-28 22:15:59 +08:00
5775995ea1 variable: add txn_source into kv.context (#39159)
ref pingcap/tidb#38587
2022-11-25 17:09:58 +08:00
c9bb2f2bb8 domain: disable closest-adaptive dynamically to make read traffic more even (#38960)
ref pingcap/tidb#35926
2022-11-22 18:51:58 +08:00
94d53c6b93 domain: fix planReplayerHandleLease data race (#39309)
close pingcap/tidb#39305
2022-11-22 13:09:58 +08:00
f894d9b78f domain, executor: refine error log and error handling for statistics and analyze (#39284) 2022-11-22 09:33:57 +08:00
9c48480180 parser, executor: implement plan replayer capture statement (#39181)
ref pingcap/tidb#38779
2022-11-17 23:09:56 +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
71e66b2371 domain: refactor plan replayer implemention (#39084)
* refactor

Signed-off-by: yisaer <disxiaofei@163.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-11-14 11:13:50 +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