385 Commits

Author SHA1 Message Date
9c0773b008 br: load necessary db infos for backup and restore (#64982)
close pingcap/tidb#64833
2026-01-17 06:42:55 +00:00
69a1b2ce8e session: fix memory leak when sessions close after ANALYZE statements (#65492)
close pingcap/tidb#65489
2026-01-09 22:24:40 +00:00
920ee6e011 ddl: forbid operations that might change system table id in nextgen (#65411)
ref pingcap/tidb#61702
2026-01-09 10:52:05 +00:00
9c4fa27333 bootstrap: add sanity check for disallowed feature for system tables in nextgen (#65438)
ref pingcap/tidb#61702
2026-01-07 11:07:33 +00:00
1738791766 test: split cases in session pkg (#65451)
ref pingcap/tidb#44940
2026-01-07 03:13:23 +00:00
752905dd38 bootstrap/upgrade: split definition and code logic for better maintenance (#65403)
close pingcap/tidb#61702
2026-01-06 13:00:05 +00:00
adfb9d8305 memory: fix data/stats leak of the global mem-arbitrator when arbitrary panics occur during stmt execution (#65318)
ref pingcap/tidb#58194
2026-01-06 01:22:47 +00:00
c342953b2d dxf: rename the pkg from "disttask" to "dxf" (#65396)
ref pingcap/tidb#61702
2026-01-05 00:30:59 +00:00
60bf54f311 planner: fix the issue that the optimizer can't use the latest system value to initialize binding cache (#65392)
close pingcap/tidb#65381
2026-01-04 07:26:41 +00:00
311b25a8c5 slowlog: fix the internal sql flag (#64827)
close pingcap/tidb#64825
2025-12-20 00:27:44 +00:00
c0659c1643 sesssion: remove useless upgrade254 (#65020)
ref pingcap/tidb#64992
2025-12-13 23:39:53 +00:00
82e69f2932 session: initialize MDL if start in normal mode during bootstrap (#64550)
close pingcap/tidb#64539
2025-12-13 03:08:08 +00:00
80f74ede58 stats: set the default analyze column options to all (#64994)
ref pingcap/tidb#64992
2025-12-12 23:58:19 +00:00
5271f751a0 planner: remove code of the deprecated optimizer trace - 5 (#64945)
ref pingcap/tidb#63725
2025-12-12 04:16:26 +00:00
4a913265a2 *: unifiy the usage of max_execution_time (#64361)
close pingcap/tidb#64360
2025-12-08 05:00:14 +00:00
887dc6ff4e session, util: extract the common resetStmtTraceID function (#64706) 2025-12-01 04:00:53 +00:00
3082092531 planner, session: resolve uppercase/lowercase mismatch for database names in metrics (#64529)
close pingcap/tidb#64560
2025-11-24 06:45:20 +00:00
9f3ae48f30 statistics: ignore system tables in stats cache (#64097)
close pingcap/tidb#57176, close pingcap/tidb#64080
2025-11-21 13:31:14 +00:00
01d36e2c73 util/traceevent: update the default value of FlightRecorderConfig (#64511)
ref pingcap/tidb#64008
2025-11-21 10:15:47 +00:00
be3d5b4b0f *: flight recorder tracing for internal sessions (#64341)
ref pingcap/tidb#64008
2025-11-21 06:03:19 +00:00
af24a62da2 infoschema, server: add per connection TLS status (#62563)
close pingcap/tidb#64223
2025-11-14 13:32:11 +00:00
560b822369 session: remove useless fields (#64483)
close pingcap/tidb#64482
2025-11-14 06:53:44 +00:00
a217eb8823 pkg/domain: remove duplicate EtcdClient() method (#64328)
close pingcap/tidb#64313
2025-11-13 08:17:11 +00:00
7ef5efd7ee txn: force locking temp index keys in dml in next-gen (#64398)
ref pingcap/tidb#64241
2025-11-12 07:08:59 +00:00
57948d90e8 statistics: refresh stats concurrently (#64034)
close pingcap/tidb#61273
2025-11-10 11:36:44 +00:00
5aea168cd9 transaction: batch dml should not be affected by max_execution_time (#64349)
close pingcap/tidb#64282
2025-11-07 14:43:25 +00:00
61bbb073d2 traceevent,*: refine flight recorder (#64199)
close pingcap/tidb#60413, ref pingcap/tidb#64008
2025-11-07 13:18:50 +00:00
800cf83e02 memory: global mem resources arbitrator (#63073)
close pingcap/tidb#58194
2025-10-30 13:13:49 +00:00
3d4d19a687 session: fix rollback on killed txn may panic (#64001)
close pingcap/tidb#63956
2025-10-29 23:34:37 +00:00
85e6857638 traceevent: fix point-get short path and prev_trace_id tracking (#64147)
ref pingcap/tidb#64008
2025-10-29 07:29:01 +00:00
3645a38dfa *: introduce the traceevent package (#64051)
ref pingcap/tidb#64008
2025-10-27 15:10:04 +00:00
db1403ed6f planner: remove IsReadOnly function pointer (#64047)
ref pingcap/tidb#52714
2025-10-21 06:16:19 +00:00
xhe
31338c0d67 variable: tweak set instance for all instance variables (#63615)
close pingcap/tidb#63614
2025-10-17 06:10:13 +00:00
fd0c9f062c unistore: Add mock keyspace manager to mock PD (#63002)
ref pingcap/tidb#58720
2025-10-10 09:12:30 +00:00
xhe
a0cfc56566 session: use get internal session to optimize advisory locks (#63551)
close pingcap/tidb#63482
2025-10-10 03:47:48 +00:00
70c7d5051c bindinfo: add last_used_date to track bindinfo usage frequency (#63409)
close pingcap/tidb#63407
2025-09-30 07:50:46 +00:00
007861065e planner: create index with embedded analyze (#63143)
close pingcap/tidb#63326
2025-09-30 04:03:25 +00:00
805da7ca66 *: move exhaustPhysicalPlan for lock/sort/topn into physicalop (#63790)
ref pingcap/tidb#52714
2025-09-29 08:07:01 +00:00
74ea11d1fc tests: fix upgrade bdr unit tests for next-gen (#63770)
ref pingcap/tidb#61702
2025-09-26 09:28:04 +00:00
7324a09904 ddl: allow DDL on the system table in BDR mode (#63604)
close pingcap/tidb#60042
2025-09-25 09:43:37 +00:00
993231d213 test: fix some tests in nextgen (#63619)
ref pingcap/tidb#61702
2025-09-23 06:26:16 +00:00
a7400e539e txn: follower read only affect read-only statements (#62852)
close pingcap/tidb#62856
2025-09-22 05:21:19 +00:00
78f79d0e14 next-gen: fix tablesample test and null keyspace test (#63599)
ref pingcap/tidb#61702
2025-09-19 06:17:44 +00:00
d0f30790c1 upgrade: fix upgrade failed on nextgen (#63569)
ref pingcap/tidb#61702
2025-09-17 10:44:11 +00:00
c37a89fa7b session: fix test cases TestBootstrapWithError, TestTableReaderChunk, TestIndexLookUpReaderChunk for nextgen (#63539)
close pingcap/tidb#63538
2025-09-17 02:54:47 +00:00
365cc25444 bindinfo: use microsecond precision for create/update timestamps (#63524)
ref pingcap/tidb#60148, close pingcap/tidb#63523
2025-09-16 21:29:50 +00:00
bbd963f9cb executor, plugin: add statement id info to the plugin (#63526)
close pingcap/tidb#63525
2025-09-16 12:04:06 +00:00
99deeb3560 test: fix TestFailBusyServerCop and TestRequestSource for nextgen (#63340)
close pingcap/tidb#63339
2025-09-03 05:52:43 +00:00
7a817f4571 test: skip some upgrade tests for next-gen (part 2) (#63350)
ref pingcap/tidb#61702
2025-09-03 03:29:52 +00:00
bb8af19897 test: skip some upgrade tests for next-gen (#63331)
ref pingcap/tidb#61702
2025-09-02 14:31:13 +00:00