33 Commits

Author SHA1 Message Date
579d0c569d server: fix kill query incorrectly killing idle connections (#65464)
close pingcap/tidb#65447
2026-01-08 14:00:32 +00:00
af24a62da2 infoschema, server: add per connection TLS status (#62563)
close pingcap/tidb#64223
2025-11-14 13:32:11 +00:00
5c7794c2e2 server: use Atomic.Pointer in the Server.statusServer (#62903)
close pingcap/tidb#62902
2025-08-08 11:05:00 +00:00
1dac78fd92 crossks: add info schema coordinator (#62712)
ref pingcap/tidb#61702
2025-08-04 11:40:18 +00:00
f1445dc6c4 server: support standbyController to control startup process (#53955)
close pingcap/tidb#53954
2025-08-01 12:08:42 +00:00
102ffeccba mdl/sessionmanager: some refactor of MDL loop and move sessionmanager from util to session pkg (#62671)
ref pingcap/tidb#61702
2025-07-29 12:55:28 +00:00
24903d6b24 server: gopls modernize (#60818)
close pingcap/tidb#60817
2025-04-26 01:59:50 +00:00
87f6c7b7e4 executor: introduce max_user_connections (#59197)
close pingcap/tidb#59203
2025-02-26 05:02:00 +00:00
9f5f53a645 statistics: add Destroy method and handle session recycling (#59546)
close pingcap/tidb#59524, close pingcap/tidb#59560
2025-02-18 13:48:25 +00:00
dd9c4b1d92 *: remove the variable txn_scope (#58839)
ref pingcap/tidb#58838
2025-02-10 11:20:46 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
865213c94e session: make TxnInfo() return even if process info is empty (#57044)
close pingcap/tidb#57043
2024-11-05 16:04:11 +00:00
cd33d79910 server: add hooks to wait for background commit goroutines (#55608)
close pingcap/tidb#55607
2024-09-30 09:17:35 +00:00
f988947aad server,metrics: add a metrics for internal session count (#56272)
ref pingcap/tidb#56271
2024-09-25 16:10:59 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +00:00
Hu#
1256bbea23 *: Refactor runaway related code (#55202)
ref pingcap/tidb#54434
2024-09-03 05:38:29 +00:00
c1c74b1bd9 server: wait for auto commit queries before shutdown (#55494)
close pingcap/tidb#55464
2024-08-20 08:07:48 +00:00
Hu#
d6dda3d3b7 runaway: add runaway tidb-side time checker (#54987)
close pingcap/tidb#51325
2024-08-12 04:03:01 +00:00
273ca667ab *: remove limiting process id for auto analyze (#54902)
ref pingcap/tidb#53460
2024-07-29 16:01:18 +00:00
ac786cb1a3 server: refine the connection counter logic (#54546)
close pingcap/tidb#54428, close pingcap/tidb#54545
2024-07-15 05:11:58 +00:00
e9da2c0887 server: handle kill signal during write result to connection (#52882)
close pingcap/tidb#44009
2024-06-12 08:09:00 +00:00
97aac23c85 util: move server.TokenLimiter into util (#53598) 2024-05-28 04:51:03 +00:00
07782971b9 server: Fix mppcoordinatorMananger server addr empty issue (#52632)
close pingcap/tidb#52608
2024-04-16 06:28:36 +00:00
07ef009486 server, metrics: remove the connection count on server, only use the metrics (#51996)
close pingcap/tidb#51889
2024-03-22 09:47:15 +00:00
d3a9c1b867 server: fix incorrect setting of health status (#51595)
close pingcap/tidb#51596
2024-03-08 02:17:06 +00:00
7f8d3944f5 server: start to listen after init stats complete (#51472)
close pingcap/tidb#51473
2024-03-05 09:15:34 +00:00
b7ce239330 *: force_init_stats doesn't block http api's startup (#50853)
close pingcap/tidb#50854
2024-02-02 08:25:56 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
715fc0b866 *: remove TLS1.0, TLS1.1 support (#50348)
ref pingcap/tidb#36036
2024-01-15 04:16:18 +00:00
e80385270c metrics: add connection and fail metrics by resource group name (#49424)
ref pingcap/tidb#49318
2024-01-03 06:05:02 +00:00
b93b2f530b metrics: distinguish events of server level and connection level (#48290)
close pingcap/tidb#48289
2023-11-06 03:48:41 +00:00
2a628c4801 *: unified the cancel/kill logic in tidb (#47063)
close pingcap/tidb#47075
2023-10-23 09:48:38 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00