78 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
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
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
a217eb8823 pkg/domain: remove duplicate EtcdClient() method (#64328)
close pingcap/tidb#64313
2025-11-13 08:17:11 +00:00
fd0c9f062c unistore: Add mock keyspace manager to mock PD (#63002)
ref pingcap/tidb#58720
2025-10-10 09:12:30 +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
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
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
98bbd14445 test: fix part of unit tests for next-gen (#63192)
ref pingcap/tidb#61702
2025-08-29 04:57:31 +00:00
8c88b61875 tests: fix unit tests for next-gen (#62895)
ref pingcap/tidb#61702
2025-08-20 19:51:02 +00:00
ec45f18b5d test: fix standalone TiDB of next-gen report 'invalid key' (#63043)
ref pingcap/tidb#61702
2025-08-19 08:38:11 +00:00
9cd2b03833 dxf/crossks: check by inner fields not global var and make crossks real tikvtest work (#62918)
ref pingcap/tidb#61702
2025-08-14 15:00:03 +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
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
cdef1a3f17 meta/ddl: refactor ddl related sys table creation (#62301)
ref pingcap/tidb#61702
2025-07-14 10:44:57 +00:00
15fe8f1be9 telemetry: add telemetry related code back (#61753)
close pingcap/tidb#61766
2025-07-04 05:19:57 +00:00
a268223774 domain: load system keyspace info schema (#61939)
ref pingcap/tidb#61702
2025-06-25 10:41:57 +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
1b0a54ca86 session: gopls modernize (#60856)
close pingcap/tidb#60855
2025-05-07 22:47:30 +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
87f6c7b7e4 executor: introduce max_user_connections (#59197)
close pingcap/tidb#59203
2025-02-26 05:02:00 +00:00
a5d433acec planner: refactor some code related to binding (#59692)
ref pingcap/tidb#51347
2025-02-24 03:14:27 +00:00
4db34bc3e2 workload-based learning: save the metrics and create new workload_values table (#59126)
ref pingcap/tidb#58131
2025-02-20 03:58:34 +00:00
f6bf8e8bec bootstrap: add cluster_id to the mysql.tidb table (#59511)
close pingcap/tidb#59476
2025-02-13 17:30:02 +00:00
a2b6578b42 planner: refactor some code related to binding (#59272)
ref pingcap/tidb#51347
2025-02-07 03:58:58 +00:00
fc8bdb54c6 session: remove distributed tasks limitation from upgrade (#56773)
close pingcap/tidb#54061
2025-02-05 18:23:51 +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
cdcc291f25 domain: Optimize GetDomain api (#58550)
ref pingcap/tidb#56649
2024-12-28 17:33:42 +00:00
3e28938322 log: Add upgrade progress information to the logs (#58246)
ref pingcap/tidb#58255
2024-12-20 18:12:48 +00:00
dde1dcd750 session: add indexes for mysql.analyze_jobs (#58134)
close pingcap/tidb#57996
2024-12-17 10:05:42 +00:00
1321c810d0 keyspace: add keyspace etcd namespace UT (#58081)
ref pingcap/tidb#58082
2024-12-10 12:02:15 +00:00
xhe
239943f7a3 session, store: remove sessionBootstrapped (#57243)
ref pingcap/tidb#57242
2024-11-16 03:44:02 +00:00
6679c7449d ddl: mitigate the issue that multiple owner might exist during force to be owner (#56963)
close pingcap/tidb#56924
2024-10-31 16:19:55 +00:00
900cd39d53 ddl: enable the ddl notifier by default (#56864)
ref pingcap/tidb#55722
2024-10-28 14:05:31 +00:00
c82ba4e083 ddl_notifier: create system table in test and escape the string literal (#56734)
ref pingcap/tidb#55722
2024-10-21 09:31:38 +00:00
5564c872b8 session: make all DDLs reentrant in upgradeToVer212 (#56605)
close pingcap/tidb#56574
2024-10-12 16:09:57 +00:00
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +00:00
53a3d20a3c planner, sctx: open enhanced index join pattern by default (#56172)
ref pingcap/tidb#47233
2024-09-24 16:55:45 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
Hu#
bb3456b076 runaway: Mitigation tidb_runaway_queries flooding (#55664)
ref pingcap/tidb#54434
2024-09-13 03:16:18 +00:00
108e98ae8f ddl: init global vars from system tables before start domain (#54913)
close pingcap/tidb#54860, close pingcap/tidb#54868
2024-07-29 07:37:17 +00:00
60cc666072 session: add summary field to tidb_background_subtask_history (#54787)
close pingcap/tidb#54241
2024-07-22 06:57:10 +00:00
f158c65446 table: provide some binlog related methods for binlog in MutateContext (#54433)
ref pingcap/tidb#54392, ref pingcap/tidb#54397
2024-07-10 05:43:33 +00:00