Commit Graph

97 Commits

Author SHA1 Message Date
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
a9d8bfe6ae session: fix data race in the LazyTxn.LockKeys (#40350)
close pingcap/tidb#40355
2023-01-07 00:00:21 +08:00
b268c65710 *: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set (#40197)
close pingcap/tidb#40194
2022-12-28 16:00:17 +08:00
9e8a21c460 planner: check the ignore-plan-cache hint in insert-stmt (#40080)
ref pingcap/tidb#39717, close pingcap/tidb#40079
2022-12-21 20:40:55 +08:00
223a9128b0 staleread, session: internal write request should be accepted with external ts (#39967)
close pingcap/tidb#39966
2022-12-17 13:48:52 +08:00
1e7c6ddbe6 SlowLog: Update Wait_TS field in slow log for every sql (#39843)
close pingcap/tidb#39713
2022-12-14 00:08:52 +08:00
ee5d8cca17 staleread: fix flaky test TestStaleReadProcessorWithExecutePreparedStmt (#39805)
close pingcap/tidb#39804
2022-12-12 11:10:51 +08:00
7134b7b6f0 test: fix unstable test TestStaleReadProcessorWithSelectTable (#37858)
close pingcap/tidb#37228
2022-12-08 14:20:04 +08:00
15b523cb07 *: add a memdb memory tracker (#39372)
ref pingcap/tidb#35203
2022-11-25 19:03:59 +08:00
490e4c4d60 session, sessionctx: enable metadata lock by default (#38866)
close pingcap/tidb#37275, ref pingcap/tidb#38890
2022-11-07 09:37:50 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
ba6ae458f8 *: add variables and support external timestamp read (#38276)
close pingcap/tidb#38274
2022-11-01 17:40:00 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +08:00
dc223253f0 Isolation: Refactor resetting RCReadCheckTS internal flag (#38174)
ref pingcap/tidb#37226
2022-10-17 23:33:53 +08:00
4adfaf1ec0 *: enable race for some part (#38288) 2022-10-08 12:03:49 +08:00
5ac83ce6d1 metrics: Add a metric to diagnose the write-conflict severity caused by RCCheckTS isolaion (#38216)
ref pingcap/tidb#37226
2022-09-28 22:19:47 +08:00
05f808f68e *: fix data race for txnCtx (#38041)
close pingcap/tidb#38000
2022-09-22 16:21:04 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
181fb8e905 br: merge feature branch of ebs-based-br (#37297)
ref pingcap/tidb#35306
2022-09-18 20:37:00 +08:00
f61024b2dc variables: change tidb_rc_read_check_ts to instance level (#37803)
close pingcap/tidb#37802
2022-09-16 18:28:59 +08:00
13ac510474 *: change flashback grammar to flashback cluster to timestamp (#37815) 2022-09-14 19:12:58 +08:00
100b65819b Optimize: TiDB skip getting tso from PD at RC isolation for some special scenes (#36823)
close pingcap/tidb#36812
2022-09-13 16:40:58 +08:00
55e86e0037 util: use channel.Clear to empty channel (#37643) 2022-09-06 19:28:55 +08:00
70684d39de *: enable mock session manager and schemaLease for all unit tests (#37623) 2022-09-06 14:04:55 +08:00
7bdb7b5705 planner: refactor some code path of execution-stmt (#37455)
ref pingcap/tidb#36598
2022-08-31 10:48:23 +08:00
a8f524b31b *: rename TemporaryTableAttachedInfoSchema (#37408) 2022-08-26 18:06:21 +08:00
9af0f03506 *: only create snapshot interceptor for temporary table when needed (#37225)
close pingcap/tidb#37223
2022-08-22 12:28:53 +08:00
44f684ec77 *: only create TemporaryTableAttachedInfoSchema if needed (#37196)
close pingcap/tidb#37195
2022-08-18 18:34:51 +08:00
fa73ba8529 makefile: add bazel realtikvtest (#37042) 2022-08-11 14:44:48 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
b150be8200 *: optimize temptable.SessionSnapshotInterceptor (#36999)
close pingcap/tidb#37000
2022-08-10 19:54:48 +08:00
de18571b31 txn: Forbid alloc space every time for OptimisticTxnContextProvider (#36988)
close pingcap/tidb#36986
2022-08-09 18:42:48 +08:00
257c78764d test: fix race for SetDDL by moving ddl inject earlier (#36964)
close pingcap/tidb#36940
2022-08-09 10:36:47 +08:00
94c118b614 txn: optimize point get with tso MaxUint64 path in txn provider (#36949)
close pingcap/tidb#36951
2022-08-08 17:12:48 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +08:00
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
b377810979 session: Mising OptimizeWithPlanAndThenWarmUp in prepare-execute path (#36347)
close pingcap/tidb#36311
2022-07-21 22:01:11 +08:00
850c869435 sessiontxn/isolation: fix goleak for TestPessimisticRCTxnContextProviderRCCheckForPrepareExecute (#36242)
close pingcap/tidb#36212
2022-07-15 18:25:05 +08:00
fa00fc5cd5 *: set fine grain timeout and update bazel config (#36220) 2022-07-15 11:11:05 +08:00
987bdd3014 *: Always rollback after tests in isolation to make tests stable (#36219)
close pingcap/tidb#36212
2022-07-14 19:59:06 +08:00
6af1f4f1c9 isolation: support flaky test (#36213)
ref pingcap/tidb#36212
2022-07-14 18:03:06 +08:00
f581ec3a45 test: remove meaningless test and update bazel (#36136) 2022-07-13 16:41:05 +08:00
ffc17f745b txn: move some methods in session_txn to internal pacakge (#36034)
close pingcap/tidb#36033
2022-07-13 13:13:05 +08:00