Commit Graph

322 Commits

Author SHA1 Message Date
1dac78fd92 crossks: add info schema coordinator (#62712)
ref pingcap/tidb#61702
2025-08-04 11:40:18 +00:00
bb89e7ab57 br: add global variable to control checkpoint lag limit (#62680)
close pingcap/tidb#62679
2025-08-01 10:52:29 +00:00
eb12403896 *: replace make then copy to slices.Clone (#62544)
close pingcap/tidb#62543
2025-07-31 12:27:55 +00:00
c72e1c075c test: use SYSTEM keyspace to create store and domain in nextgen (#62742)
ref pingcap/tidb#61702
2025-07-31 08:52:58 +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
cfe9c12c9a bootstrap: use reserved ID for system schemas/tables in nextgen (#62570)
ref pingcap/tidb#61702
2025-07-24 18:46:25 +00:00
be5bc77b73 planner: Remove InPreparedPlanBuilding member from StatementContext. (#62542)
ref pingcap/tidb#61876
2025-07-23 09:43:20 +00:00
ad4f3ea0f7 bootstrap: refactor the system tables/dbs creation (#62540)
ref pingcap/tidb#61702
2025-07-23 05:07:17 +00:00
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
b778b88220 *: refactor slow log handling by moving relevant logic to a dedicated file and removing unused code paths from MergeExecDetails (#62501) 2025-07-21 14:00:06 +00:00
e823930fc8 *: fix the issue about the case-insensitive in resource group hint (#62374)
close pingcap/tidb#62361
2025-07-18 21:38:22 +00:00
35d9646b08 ddl: optimize temp index worker in highly conflicting case (#61445)
close pingcap/tidb#61433
2025-07-18 03:08:21 +00:00
6ec48101ca *: refactor LogSlowQuery by extracting two reusable functions and simplifying logic (#62425) 2025-07-16 10:51:18 +00:00
cdef1a3f17 meta/ddl: refactor ddl related sys table creation (#62301)
ref pingcap/tidb#61702
2025-07-14 10:44:57 +00:00
95b5aa9940 tables: force to lock the touched index in DML when DDL merging temp index (#62387)
close pingcap/tidb#62337
2025-07-14 09:30:01 +00:00
db81dee5ed crossks: forbid cross ks session to access user tables and run DDL (#62270)
ref pingcap/tidb#61702
2025-07-11 06:39:39 +00:00
5ec4f36c85 dxf: use correct store in add-index, checksum by copr in import-into, and enable DXF service (#62224)
ref pingcap/tidb#61702
2025-07-09 08:07:27 +00:00
0cd280bbd2 meta: unify definition of system or memory DB name (#62247)
ref pingcap/tidb#61702
2025-07-07 19:17:48 +00:00
cc90d3780e resource_control: support collecting cross AZ traffic in ru consumption (#62003)
close pingcap/tidb#62001
2025-07-04 10:27:00 +00:00
15fe8f1be9 telemetry: add telemetry related code back (#61753)
close pingcap/tidb#61766
2025-07-04 05:19:57 +00:00
b8063d54f3 domain, executor: attach stats collector for IMPORT INTO sessions (#61849)
close pingcap/tidb#61922
2025-07-01 07:50:45 +00:00
704373b1e4 importinto: use correct session to submit/update/query task in DXF service (#62023)
ref pingcap/tidb#61702
2025-06-28 06:07:21 +00:00
352394661f domain: abstract cross keyspace manager and sql server interface (#62007)
ref pingcap/tidb#61702
2025-06-26 12:02:42 +00:00
679facdc8b *: add log for bootstrap part and init USR1 single handler early to help diagnose (#61997)
ref pingcap/tidb#61702
2025-06-26 05:20:00 +00:00
a268223774 domain: load system keyspace info schema (#61939)
ref pingcap/tidb#61702
2025-06-25 10:41:57 +00:00
f701e5ae3d dxfservice: create store for SYSTEM keyspace (#61752)
ref pingcap/tidb#61702
2025-06-24 07:10:15 +00:00
49f4868f59 fix(runaway): ensure DistSQLContext's checker is synchronized with session variables (#61907)
close pingcap/tidb#61899
2025-06-23 16:52:48 +00:00
1abbbf02de session: rename GetDomainInfoSchema to GetLatestInfoSchema (#61894)
ref pingcap/tidb#61702
2025-06-23 10:09:21 +00:00
43c7806b45 session: fix initGlobalVariableIfNotExists function forget call rs.close (#61890)
close pingcap/tidb#61884
2025-06-21 01:35:48 +00:00
416fb0d015 bootstrap: use versioned upgrade function (#61830)
ref pingcap/tidb#61702
2025-06-19 15:56:48 +00:00
cc70f143da domain: decouple info schema syncer (#61794)
ref pingcap/tidb#61702
2025-06-19 11:48:54 +00:00
8e6d77ae27 dxf: add keyspace name to global task table (#61755)
ref pingcap/tidb#61702
2025-06-18 16:41:39 +00:00
e70afd2a44 planner: Support brief format for explain for connection (#61230)
close pingcap/tidb#60965
2025-06-10 08:20:43 +00:00
0f5aa223ec *: rewrite InTest to EnableInternalCheck (#60167)
ref pingcap/tidb#60176
2025-06-05 07:56:08 +00:00
fa3c79b408 br: enable parallel restore (#58724)
close pingcap/tidb#58725
2025-06-03 02:36:14 +00:00
f96cb1fe03 session, processinfo: fix process info for stale read (#61329)
close pingcap/tidb#61325
2025-05-28 08:11:28 +00:00
cac7292fef br: add restoreid to idmap table (#61278)
close pingcap/tidb#61277
2025-05-27 14:11:04 +00:00
1c6c5ad2ac ttl: fix ut failure after using advanced session (#61180)
close pingcap/tidb#61175
2025-05-25 13:24:34 +00:00
6a4e8cfcd0 variable: tidb_enable_ts_validation (#60548)
close pingcap/tidb#60547
2025-05-22 10:42:38 +00:00
41045f1871 txn: also update the @@tidb_last_txn_info for readyonly or rollback txns (#61057)
close pingcap/tidb#61056
2025-05-13 14:04:48 +00:00
1b0a54ca86 session: gopls modernize (#60856)
close pingcap/tidb#60855
2025-05-07 22:47:30 +00:00
7e3bbcfaad ttl: use AdvancedSessionPool in TTL (#60474)
close pingcap/tidb#60473
2025-04-21 08:55:09 +00:00
b35b09351c session: syssession checks the concurrency of thread-unsafe calls (#60462)
ref pingcap/tidb#60115
2025-04-11 09:34:58 +00:00
6dc5817547 util: fix typo in DestroyParser function name (#60494)
close pingcap/tidb#60493
2025-04-11 03:53:16 +00:00
671534a755 session: A safer way to close session from the pool (#60448)
ref pingcap/tidb#60115
2025-04-09 14:09:18 +00:00
2d42a5b32a session: provide AdvancedSysSessionPool for enhancement (#60168)
close pingcap/tidb#60115
2025-04-09 06:22:07 +00:00
1279a9ffec statistics: speed up the backgroud stats update worker (#58490)
ref pingcap/tidb#57868
2025-04-07 11:50:10 +00:00
2347e977a2 planner: add an unique key into mysql.bind_info (#60296)
ref pingcap/tidb#60148
2025-04-02 09:09:06 +00:00
914e4ce8d8 session: add a session variable to control whether to use hash join v2 in TiFlash (#60300)
close pingcap/tidb#60299
2025-03-29 04:39:31 +00:00
84492a9a1e util: reset parser before putting into parser pool (#60269)
close pingcap/tidb#60266
2025-03-26 16:47:44 +00:00