Commit Graph

1352 Commits

Author SHA1 Message Date
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
0fe61bd41a *: prevent cursor read from being cancelled by GC (#39950)
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
388e008846 statistics: add source column for stats_meta_hisotry table (#39835) 2022-12-14 14:38: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
d176b38cce testkit: set GOMAXPROCS in test (#39766) 2022-12-09 19:09:42 +08:00
f6127247d3 *: close recordset (#39783) 2022-12-09 14:22:04 +08:00
4c04abce79 *: support disaggregated tiflash (#33535)
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00
6784bfd0e8 sessionctx: move shardRand from TransactionContext to SessionVars to reduce allocation (#39661) 2022-12-08 20:28:05 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
770e75b47b session: fix data race in TestBootstrap (#39718)
close pingcap/tidb#39682
2022-12-07 18:16:04 +08:00
a743640e66 *: enable foreign_key_checks variable by default (#39695) 2022-12-07 17:14:11 +08:00
8e742bf972 bootstrap: increase current bootstrap version and fix comment (#39700)
close pingcap/tidb#39699
2022-12-07 16:38: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
a7c4c71287 ttl: add system table for TTL status (#39315)
close pingcap/tidb#39272
2022-12-05 15:44: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
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +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
89e9078fe1 planner: fix panic when upgrade from 4.0.16 to master (#39538)
close pingcap/tidb#39527
2022-12-02 01:26:02 +08:00
c3565a18b0 planner: set cost model to ver1 for clusters upgrading from pre-6.1 version (#39537) 2022-12-01 17:13:02 +08:00
a6eba9bfc2 txn: fix alias related bugs for non-transactional DML (#39459)
ref pingcap/tidb#33485
2022-12-01 16:02:01 +08:00
d3f7ec0021 br: skip compatibility check for the mysql.user table when restoring (#39460)
close pingcap/tidb#38785
2022-12-01 14:40: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