59 Commits

Author SHA1 Message Date
1e1a19187a *: tidb txn supports to setting WithReturnCommitTS (#65306)
close pingcap/tidb#64537
2026-01-05 02:24:32 +00:00
fc3a31934a executor, sessiontxn/isolation: fix max_execution_time to include TSO wait time (#64408)
close pingcap/tidb#64406
2025-12-30 19:40:02 +00:00
6540abdf82 sessiontxn/staleread: don't overwrite StaleTSOProvider for single statement (#65110)
close pingcap/tidb#65090
2025-12-18 15:55:05 +00:00
b302859f2c plugin: add retry information in the plugin completed event. (#64692)
close pingcap/tidb#64691
2025-11-27 07:17:29 +00:00
a7400e539e txn: follower read only affect read-only statements (#62852)
close pingcap/tidb#62856
2025-09-22 05:21:19 +00:00
ae6d30c24f planner: re-enable the plan cache generator and move Delete/Inset/Update into physicalop (#63443)
ref pingcap/tidb#52714
2025-09-11 06:20:39 +00:00
5810837368 test: fix or skip some failed next-gen tests (#63355)
close pingcap/tidb#63343
2025-09-05 17:57:12 +00:00
1f967030a0 fix: drop some dead code phase 1 (#63079)
ref pingcap/tidb#50727
2025-09-05 09:54:33 +00:00
feba12d1e8 test: fix some tests for next-gen (#63342)
close pingcap/tidb#63343
2025-09-03 04:27:28 +00:00
3741596d32 planner: move PhysicalPointget related logic into physical op dir (#63168)
ref pingcap/tidb#52714
2025-08-25 09:05:31 +00:00
12732cd03c session: restrict pessimistic-auto-commit to INSERT, UPDATE, DELETE only (#63065)
close pingcap/tidb#63064
2025-08-22 08:16:53 +00:00
8c88b61875 tests: fix unit tests for next-gen (#62895)
ref pingcap/tidb#61702
2025-08-20 19:51:02 +00:00
2d07f5c716 mdl: always enable and make it read only in nextgen (#62865)
ref pingcap/tidb#61702
2025-08-07 06:11:21 +00:00
327a22d5eb ddl/issyncer: support cross keyspace scenario (#62831)
ref pingcap/tidb#61702
2025-08-06 09:18:15 +00:00
aad48eab53 planner: move physical PhysicalLock related logic into physical op dir. (#62807)
ref pingcap/tidb#52714
2025-08-04 14:44:45 +00:00
0fc2d8bfd8 tests: add create index realtikv test for next_gen (#62326)
ref pingcap/tidb#61702
2025-07-18 07:16:24 +00:00
a268223774 domain: load system keyspace info schema (#61939)
ref pingcap/tidb#61702
2025-06-25 10:41:57 +00:00
1abbbf02de session: rename GetDomainInfoSchema to GetLatestInfoSchema (#61894)
ref pingcap/tidb#61702
2025-06-23 10:09:21 +00:00
1b0a54ca86 session: gopls modernize (#60856)
close pingcap/tidb#60855
2025-05-07 22:47:30 +00:00
9b8296bd61 *: migrate stale_txn tests to real tikv tests (#59589)
close pingcap/tidb#59588
2025-02-19 08:41:15 +00:00
0c99ccb269 session: track LastCommitTS in SessionVars and check timestamps of later txns are larger (#57305)
close pingcap/tidb#57165
2025-02-13 05:11:58 +00:00
4734c9c2f4 txn: skips resolving lock in auto commit optimistic statement (#58676)
close pingcap/tidb#58675
2025-02-07 07:59:07 +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
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
0bf3e01900 *: Update client-go and verify all read ts (#58054)
ref pingcap/tidb#57786
2024-12-19 11:08:12 +00:00
3578b1da09 *: Use strict validation for stale read ts & flashback ts (#57050)
close pingcap/tidb#56809
2024-11-12 07:46:24 +00:00
38187e5b1d txn: fix issue innodb_lock_wait_timeout doesn't work in some case (#56847)
close pingcap/tidb#56688
2024-10-28 12:57:30 +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
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
f838cc89fe txn: fix the lock behaviours when for update is used when low resolution tso is used (#54738)
close pingcap/tidb#54684
2024-07-25 03:22:34 +00:00
47179ae14d table: introduce RowIDShardGenerator and ReservedRowIDAlloc to alloc auto row id (#54789)
ref pingcap/tidb#54397
2024-07-24 09:01:35 +00:00
de54620dc9 ddl: pessimistic lock global id, alloc id & insert ddl job in one txn (#54547)
ref pingcap/tidb#54436
2024-07-16 12:20:59 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
58469bb9fb planner: simplify plan cache for fast point get (#53135)
ref pingcap/tidb#50618
2024-05-09 14:23:38 +00:00
2b754c7599 planner: simplify plan cache for fast point get (#53090)
ref pingcap/tidb#50618
2024-05-08 01:37:07 +00:00
8426c23cb1 topsql: set RPC interceptor immediately after a txn is activated (#51795)
close pingcap/tidb#52845
2024-04-25 06:39:12 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
0ce42edaf7 txn: set session id of committer once txn is activated (#52388)
ref pingcap/tidb#50215
2024-04-08 12:18:20 +00:00
c39d79fca5 txn: set txn options in txn provider which avoid data race (#52304)
ref pingcap/tidb#50215
2024-04-08 09:04:50 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
639fa0073f expression: finish to remove SessionVars and other complex objects from EvalContext (#52015)
close pingcap/tidb#51477
2024-03-25 10:24:47 +00:00
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
0250675b0b txn: deprecate the transaction auto retry and related statement count limit (#50782)
ref pingcap/tidb#50350
2024-01-30 08:10:59 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00