Commit Graph

60 Commits

Author SHA1 Message Date
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
9daa9abf8c *: fix unstable test in sessiontxn (#36072)
close pingcap/tidb#36071
2022-07-11 13:15:05 +08:00
f3eb0f5c26 txn: remove NewTxn and NewStaleTxnWithStartTS in session (#35885)
close pingcap/tidb#35884
2022-07-07 19:27:02 +08:00
2df6be5282 *: Make the code cleaner in session.ExecutePreparedStmt (#35943)
close pingcap/tidb#35925
2022-07-06 12:51:02 +08:00
114c922bc8 *: enable gosec (#35873)
ref pingcap/tidb#35345
2022-07-05 19:39:01 +08:00
441c9cde30 txn: rename snapshot related methods in txnManager. (#35912)
close pingcap/tidb#35915
2022-07-05 12:37:01 +08:00
7c8dead494 testkit: add test cases where autocommit transaction encounters concurrent conflicts. (#35853)
close pingcap/tidb#35924
2022-07-05 12:17:01 +08:00
157c178f27 *: seperate TxnScope and ReplicaReadScope (#35877)
close pingcap/tidb#31772
2022-07-05 11:33:02 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
16e5815f18 txn: txnManager providers GetReadSnapshot and GetForUpdateSnapshot. (#35788)
close pingcap/tidb#35810
2022-07-01 18:12:40 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
488712661c *: Remove some useless staleness code (#35849)
close pingcap/tidb#35848
2022-06-30 17:10:38 +08:00
11f39cd77a txn: unify the management of transaction activation by TxnManager. (#35679)
close pingcap/tidb#35705
2022-06-30 13:40:39 +08:00
47a4f3a017 *: enable unconvert (#35821)
ref pingcap/tidb#35345
2022-06-29 20:16:40 +08:00
5b305c34f8 txn: manage the initialization of RCCheckTS by transaction context provider (#35554)
close pingcap/tidb#35497
2022-06-29 16:14:39 +08:00
f0d5f6e9cd txn: remove legacy.SimpleTxnContextProvider (#35667)
close pingcap/tidb#35666
2022-06-29 13:52:39 +08:00
2874911542 txn: fix the error message if retry could not be used for rc check ts (#35474)
close pingcap/tidb#35473
2022-06-29 13:30:39 +08:00
0d9e02b638 *: Add testfork.RunTest to run multiple tests in one function (#35746)
close pingcap/tidb#35747
2022-06-28 17:14:39 +08:00
0998cba23d txn: refactor ts acquisition within build and execute phases (#35376)
close pingcap/tidb#35377
2022-06-27 11:58:38 +08:00
db02b4addf *: Provide a util to "pause" session in uint test (#35529)
close pingcap/tidb#35526
2022-06-24 20:06:38 +08:00
2e1e3f1269 *: Introduce OptimisticTxnContextProvider for optimistic txn (#35131)
close pingcap/tidb#35130
2022-06-21 00:04:37 +08:00
44623f03f4 *: enable more flaky and update bazel config (#35500)
ref pingcap/tidb#35247
2022-06-20 21:46:37 +08:00
45a9a7e5ab txn: fix bug that some times lock ts and read ts are not the same (#35470)
close pingcap/tidb#35459
2022-06-17 18:20:36 +08:00
d3e9114f44 *: enable more flaky test, enable more shard_count and update bazel config (#35300)
ref pingcap/tidb#35247
2022-06-13 17:52:32 +08:00
b91bdd0876 txn: Provide PessimisticSerializableTxnContextProvider for Serializable isolation (#35146)
close pingcap/tidb#35150
2022-06-13 14:54:34 +08:00
738f681d61 *: Introduce PessimisticRRTxnContextProvider for pessimistic repeatable read txn (#35158)
close pingcap/tidb#35129
2022-06-13 11:44:34 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
22e9f4dc9e txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
2022-06-02 15:36:28 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
ee800f4e5e planner: check infoSchema when builing cacheKey (#34957)
close pingcap/tidb#34974
2022-05-27 19:42:48 +08:00
381e870c5c planner: disable plan-cache short path for point-get plans when plan-cache is disabled (#34739)
close pingcap/tidb#33628, close pingcap/tidb#34725
2022-05-18 17:28:39 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
856e82ad6a txn: add methods to handle error for TxnManager (#34489)
close pingcap/tidb#34533
2022-05-13 16:00:37 +08:00
bbd7541322 *: refine 'tidb_snapshot' behavior (#34573)
close pingcap/tidb#34529
2022-05-11 20:54:34 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00