Commit Graph

1377 Commits

Author SHA1 Message Date
79558c08ad metric: add some metric by database (#41477)
close pingcap/tidb#37892
2023-02-18 13:39:04 +08:00
bc95a4f022 *: lock the temp index key properly in DML (#41516)
close pingcap/tidb#41515
2023-02-17 18:19:04 +08:00
57537fd15e session: fine-grained cache for session's bootstrap test (#41507)
ref pingcap/tidb#41377
2023-02-17 11:54:02 +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
8805b4c58c executor: fix race when collecting telemetry info of batch copr (#41413)
close pingcap/tidb#41412
2023-02-15 13:06:00 +08:00
84871df190 *: update bazel (#41369)
ref pingcap/tidb#41377
2023-02-14 14:30:01 +08:00
2baf8c2e4f metric: seperate the internal and external transaction metrics (#41206)
ref pingcap/tidb#41203
2023-02-12 11:08:01 +08:00
696d7d06e9 *: REORGANIZE PARTITION (#38535) (#41096)
close pingcap/tidb#38535
2023-02-11 20:28:00 +08:00
8531018f04 ddl: improve backfill more general (#41093)
close pingcap/tidb#41002
2023-02-10 23:52:00 +08:00
c34238b3c2 session: fix processInfo time when using driver to prepare and execute query (#41151)
close pingcap/tidb#41057
2023-02-09 23:54:16 +08:00
61e1d81974 add metrics for TTL (#41155)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Co-authored-by: 王超 <cclcwangchao@hotmail.com>
2023-02-09 20:28:31 +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
bdef910bec store/copr: enable store batch by default & add extra copr concurrency and batch nums in stats (#40711)
ref pingcap/tidb#39361, close pingcap/tidb#40399
2023-02-09 03:07:59 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
c017999d02 sessionctx: fix hidden and user var problems in encoding session states (#40754)
close pingcap/tidb#40614
2023-02-06 18:53:57 +08:00
b78c62f784 session, metrics: refine the resource control metrics (#41045)
ref pingcap/tidb#38825
2023-02-06 15:33:57 +08:00
975d177286 *: add resource group name into information_schema.processlist (#40739)
close pingcap/tidb#40724
2023-02-03 22:23:56 +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
b91e2d9aa1 session: use mDDLTableVersion key to control backfill tables (#40984)
close pingcap/tidb#40980
2023-02-03 11:45:56 +08:00
04f9b3c150 *: add UseAutoScaler config to disable AutoScaler (#40966)
close pingcap/tidb#40971
2023-02-02 16:11:56 +08:00
ab1e57650c session: fix bad log (#40948)
close pingcap/tidb#40947
2023-02-01 19:45:56 +08:00
d28a8d84b5 *: support MockAutoScaler and AWSAutoScaler (#40729)
close pingcap/tidb#40747
2023-02-01 19:11: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
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
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
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
408a46654d session: fix deadlock when init domain failed (#40409)
close pingcap/tidb#40408
2023-01-09 15:50:22 +08:00
a9d8bfe6ae session: fix data race in the LazyTxn.LockKeys (#40350)
close pingcap/tidb#40355
2023-01-07 00:00:21 +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
1f344ba108 autoid_service: add unit test for the package (#40193) 2023-01-03 19:40:19 +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
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
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