Commit Graph

755 Commits

Author SHA1 Message Date
bca433fcab planner: remove pickFromBucket field in LRUPlanCache (#40668)
ref pingcap/tidb#36598
2023-01-28 16:41:53 +08:00
556c267758 server, privileges: make tidb_auth_session_token compatible with password expiration and resource group (#40735)
ref pingcap/tidb#40614
2023-01-20 13:51:49 +08:00
971deb6202 *: add a new I_S table and support show create for resource groups (#40665)
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
1083f79f51 handle: use separete ctx for initStats (#40604)
close pingcap/tidb#40548
2023-01-16 18:23:48 +08:00
17c0d5481b executor: support set resource-group-name for kv request (#40237)
ref pingcap/tidb#38825
2023-01-13 14:13:46 +08:00
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
b8e5460a84 *: add new global variable tidb_enable_resource_control as a switch (#40440)
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
005c8d8ef8 *: remove the support of the amending transaction (#39714)
close pingcap/tidb#40381
2023-01-06 18:26:21 +08:00
5eea731db0 util: use go-deadlock to find deadlock (#40288)
close pingcap/tidb#40293
2023-01-05 15:10: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
f7de8beede *: remove the support of the old ddl framework (#39684)
ref pingcap/tidb#39824
2022-12-30 18:30:18 +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
869b21dcf8 session: Do not run telemetry loops when it's disabled in config (#40156)
close pingcap/tidb#40155
2022-12-28 18:18:18 +08:00
b268c65710 *: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set (#40197)
close pingcap/tidb#40194
2022-12-28 16:00:17 +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
d2be278578 ddl: set context correctly in the setDDLLabelForDiagnosis (#40090)
close pingcap/tidb#40099
2022-12-23 15:04:14 +08:00
4adce4cded statistics: fix the sync load sql did'nt running internally (#40087)
close pingcap/tidb#39511
2022-12-22 17:00:55 +08:00
fdf335e3e5 *: make auto-analyze killable by global memory limit (#39978)
ref pingcap/tidb#39971, close pingcap/tidb#39994
2022-12-20 21:56:55 +08:00
223a9128b0 staleread, session: internal write request should be accepted with external ts (#39967)
close pingcap/tidb#39966
2022-12-17 13:48:52 +08:00
0fe61bd41a *: prevent cursor read from being cancelled by GC (#39950)
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
98cef5a5b1 session: fix a bug for InitDDLJobTables (#39861)
ref pingcap/tidb#39854
2022-12-14 00:58:51 +08:00
aeceb22fa6 planner: rename general plan cache to non-prepared plan cache (#39873) 2022-12-13 17:16:13 +08:00
9488ca9db6 *: Add backfill job related tables and operations (#39616)
close pingcap/tidb#37122
2022-12-12 14:34:51 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
4c04abce79 *: support disaggregated tiflash (#33535)
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +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
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
2548e66089 txn: respect txn-total-size-limit if it is manually set (#39550)
close pingcap/tidb#35203
2022-12-02 06:50:01 +08:00
1f04e14bef domain: support dump historical stats in background job (#39417) 2022-12-01 13:04:01 +08:00
e98e9594bc *: add telemetry support for IndexMerge (#39469)
close pingcap/tidb#39475
2022-11-30 12:23:59 +08:00
2c0c13053a session: workaround for upgrade from the old master version (#39451)
close pingcap/tidb#39450
2022-11-29 22:12:00 +08:00
1b15732d11 telemetry: add telemetry for alter table compact partition (#39452)
ref pingcap/tidb#36175
2022-11-29 19:07:59 +08:00
5b16086d98 session: remove useless parser object in SessionHandle of bindinfo package (#39439) 2022-11-29 11:03:59 +08:00
3c3a9d0759 session, ddl: rollback txn for prepare statement (#39433)
close pingcap/tidb#39432
2022-11-29 10:03:59 +08:00
f8a6bde954 *: add a reference count for StmtCtx (#39368)
close pingcap/tidb#27725
2022-11-28 17:02:01 +08:00
15b523cb07 *: add a memdb memory tracker (#39372)
ref pingcap/tidb#35203
2022-11-25 19:03:59 +08:00
5775995ea1 variable: add txn_source into kv.context (#39159)
ref pingcap/tidb#38587
2022-11-25 17:09:58 +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
c354b8bd07 extension: add support for extension to custom table and sysvar privileges (#39137)
close pingcap/tidb#39136
2022-11-15 12:11:55 +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
86d3b46555 util: change record analyze to explain in oom alarm (#39099)
close pingcap/tidb#39036, ref pingcap/tidb#39094, ref pingcap/tidb#39098
2022-11-13 10:23:53 +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
21d6190278 txn: tidb_constraint_check_in_place_pessimistic should not be global scoped (#38767)
close pingcap/tidb#38766
2022-11-07 10:31:50 +08:00
114d8c1195 *: enable global memory control by default (#38899) 2022-11-04 21:36:01 +08:00
6ab17074b8 telemetry: telemetry supports count flashback cluster (#38901)
close pingcap/tidb#38896
2022-11-04 17:46:03 +08:00
c799b0f165 *: disable global memory control by default (#38859) 2022-11-03 19:32:01 +08:00
5ee578c21b planner, session: use SessionExtendedInfoSchema if snapshot isn't set (#38794)
close pingcap/tidb#38791
2022-11-03 16:48:02 +08:00