Commit Graph

61 Commits

Author SHA1 Message Date
5a4c14cfd5 executor: close recordset (#37145) 2022-08-16 22:20:50 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +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
f0d5f6e9cd txn: remove legacy.SimpleTxnContextProvider (#35667)
close pingcap/tidb#35666
2022-06-29 13:52:39 +08:00
d23a81488a *: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
2022-04-25 16:52:51 +08:00
2b00d3e6e0 executor: migrate test-infra to testify for testSuite2 (#34046)
close pingcap/tidb#33431
2022-04-18 11:50:02 +08:00
f04dfc4c6d *: forbid using cache when stale read in binary proto (#33818)
close pingcap/tidb#33814
2022-04-08 16:04:32 +08:00
dbd8f15302 *: Add support for execute prepared statement to staleread.Processor (#32941) 2022-04-07 14:33:19 +08:00
164261cfe9 planner: forbid NULL as of value in stale read (#33729)
close pingcap/tidb#33728
2022-04-06 23:02:31 +08:00
ec637878d4 txn: fix invalid transaction error when doing stale read in RC isolation level (#33653)
close pingcap/tidb#30872
2022-04-02 11:12:29 +08:00
1df16c0287 executor: fix unstable test TestPlanCacheWithStaleReadByBinaryProto (#33351)
close pingcap/tidb#33349
2022-03-24 12:18:33 +08:00
bd008d240b session: forbid plan cache in stale read (#33273)
close pingcap/tidb#31550
2022-03-22 10:42:32 +08:00
0d160fb645 executor: add testcase to cover stale read and prepare stmt (#33270)
ref pingcap/tidb#31550
2022-03-21 14:46:32 +08:00
2f0c23da24 executor: migrate test-infra to testify for stale_txn_test (#32285)
close pingcap/tidb#28618
2022-02-14 16:49:38 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
87648de76e store: fix closest_replicas can't work during follower read (#28419) 2021-09-28 15:10:47 +08:00
33ac1865c8 session: validate and change tidb_read_staleness input (#28194) 2021-09-22 13:14:45 +08:00
d88e64c194 executor: add stale read compatibility unit test for each cases (#28146) 2021-09-17 16:46:42 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
f710f3d9a3 executor: support selecting store by tidb_replica_read for stale read (#28033) 2021-09-15 14:52:41 +08:00
193b74ecbb executor: rename txnScope as readReplicaScope instead (#27987) 2021-09-14 12:54:40 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
155ead5370 executor: fix unstable TestSelectAsOf (#27163) 2021-08-16 11:51:59 +08:00
a8adc4cf8e *: fix many leaks of the test case (#26909) 2021-08-06 13:55:12 +08:00
bff0034a8f executor: fix unstable TestStaleSelect (#26840) 2021-08-03 20:27:06 +08:00
00a4c12d9d format: fix check (#26198) 2021-07-14 10:23:34 +08:00
xhe
c8bcc3b92f executor: only forbid setting tidb_snapshot in stale txn (#25794) 2021-07-12 11:25:32 +08:00
59d835eac5 executor: support forbid tiflash for stale read (#25828) 2021-07-06 13:33:28 +08:00
0376dc0c54 executor: fix prepared stale read statement not work (#25746) 2021-06-28 17:55:25 +08:00
92ddceb6a4 executor: reject setting read ts to a future time (#25732) 2021-06-25 18:09:24 +08:00
b858ce43c0 config, session: make Local Transaction not to affect Stale Read (#25559) 2021-06-22 17:25:22 +08:00
799591a06f session: read local dc replicas automatically for stale read (#25525)
* fix select

Signed-off-by: yisaer <disxiaofei@163.com>
2021-06-18 17:13:38 +08:00
5b392334c6 *: temporarily skip some unstable test cases. (#25548) 2021-06-18 14:24:38 +08:00
9e08fc559c planner: fix begin statement consumed read_ts wrongly (#25492) 2021-06-17 10:48:37 +08:00
xhe
3c979129fc executor: mutex snapshot with txn (#25468) 2021-06-17 00:26:37 +08:00
xhe
07d0b2d845 planner: forbid prepared stale select in txn (#25375) 2021-06-15 14:30:37 +08:00
39c503ef68 executor: fix panic for point get executor during stale read (#25292) 2021-06-15 13:44:36 +08:00
xhe
9189ec66ac *: stale reads compatible with prepare (#25156) 2021-06-11 19:32:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
a8ea9a75f2 store/tikv: make failpoints without code generations (#25247) 2021-06-10 17:58:29 +08:00
37472dc06b store/tikv: move region_* into package store/tikv/region (#25205) 2021-06-10 15:54:30 +08:00
d5a0d176db executor: add history read compatibility for temporary table (#25237) 2021-06-09 13:18:29 +08:00
811253785c planner, executor: add stale read compatibility for temporary table (#25206) 2021-06-07 21:06:28 +08:00
c8c0dd0bb9 executor: supports as of timestamp compatibility (#25019) 2021-06-02 11:29:38 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
xhe
238cab806e *: ddl compatibility test completion (#24983) 2021-05-31 18:17:38 +08:00
04cb5e9f67 variable: make tx_read_ts mutual exclude with tidb_snapshot (#24931) 2021-05-31 13:17:37 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00