eabd78cae2
*: add an option to enable pessimistic mode for auto-commit transactions ( #32056 )
...
close pingcap/tidb#31135
2022-02-15 19:33:38 +08:00
21e49193be
session: increase default lock ttl to stabilize pessimistic test suite ( #32184 )
...
close pingcap/tidb#30677
2022-02-09 18:25:36 +08:00
b83dc00302
session: fix goleak in the sendBatchRequest ( #31991 )
...
close pingcap/tidb#31990
2022-01-26 21:00:45 +08:00
e88f01a477
session: tiny fix for several session test cases ( #31095 )
...
close pingcap/tidb#31094
2022-01-21 16:11:46 +08:00
608bdf39df
session: show actual error in TestPessimisticLockNonExistsKey ( #31140 )
2021-12-29 20:49:51 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
340abf00f0
metrics,client-go: update client-go and add batch client receive response metrics ( #27583 )
2021-08-25 21:08:05 +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
01a87e3257
*: solve cloud tikv disk full problem ( #26302 )
2021-08-08 13:21:13 +08:00
c3f92c28bb
infoschema, executor: Add SQL Text to INFORMATION_SCHEMA.(CLUSTER_)DEADLOCKS table ( #26711 )
2021-08-04 18:19:07 +08:00
a9adeb0232
*: temporarily skip some unstable test cases ( #26268 )
2021-07-16 11:19:33 +08:00
db09bb087f
test: try to add some combinations for amend test ( #19583 )
2021-07-16 10:17:33 +08:00
3a5f434aad
txn: change lock into put record for unique index key lock ( #25730 )
2021-07-14 10:57:32 +08:00
f5710bca08
*: move with-tikv flag to each package ( #25776 )
2021-06-28 12:07:25 +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
ac06d78691
*: enable column-type-change totally ( #25263 )
2021-06-09 10:56:29 +08:00
f3e2b79822
store/tikv: share type OneByOneSuite for tests related to tikv ( #25098 )
2021-06-07 18:08:28 +08:00
06b80b74c5
store/tikv: new retry logic for RegionRequestSender ( #25040 )
2021-06-03 21:04:27 +08:00
c44b8d118b
config: make deadlock history's max size configuable ( #24925 )
2021-06-03 12:26:26 +08:00
a5400cc602
test: Fix a misusing of testkit that runs two queries concurrently ( #24923 )
2021-05-27 15:47:35 +08:00
3904ca3e4e
infoschema, executor: Add the deadlock table ( #24524 )
2021-05-20 00:21:42 +08:00
8fb29eb17e
kv: move TxnScope into kv ( #24715 )
2021-05-19 20:01:42 +08:00
6a69ee70ca
store/driver: move error to single package ( #24549 )
2021-05-12 20:41:40 +08:00
7611952a09
store/tikv: make tikv.ErrLockAcquireFailAndNoWaitSet as a normal error ( #24475 )
2021-05-11 17:11:39 +08:00
b639ff55fd
store/tikv: make tikv.ErrQueryInterrupted as a normal error ( #24474 )
2021-05-11 15:19:40 +08:00
9b86513a4d
store/tikv: make tikv.ErrLockWaitTimeout as a normal error instead of… ( #24424 )
2021-05-11 12:25:38 +08:00
6bea505237
store/tikv:move error from kv into package error ( #24294 )
2021-04-27 15:21:56 +08:00
6f068bcd1e
store/tikv:move LockExpire error from tikv package to tidb since it i… ( #24269 )
2021-04-26 19:27:56 +08:00
2fa09ddcd6
store/tikv, session: Fix incorrect TestAsyncCommitWithSchemaChange and unstable Test1PCWithSchemaChange ( #24082 )
2021-04-20 16:25:53 +08:00
e104d818cf
mocktikv: remove SplitTable and SplitIndex ( #24104 )
2021-04-20 13:29:52 +08:00
46aca1ad0c
session, executor: skip some frequent unstable test cases ( #24003 )
2021-04-14 15:39:52 +08:00
d0291c802a
executor: fix batchget overflow lock panic ( #23774 )
2021-04-01 03:33:24 +08:00
f08e76cb1c
store/tikv/kv:move tikv/error.go to tikv/kv/error.go ( #23627 )
2021-03-30 11:03:23 +08:00
2df2ca06d2
store/tikv: always switch to a different peer when meets no-leader ( #22449 )
2021-03-26 19:05:23 +08:00
92b1b8e0e9
planner: check schema stale for plan cache when forUpdateRead ( #22381 )
2021-03-19 17:25:36 +08:00
1ab3b489f4
txn: fix the ttlmanager and cleanup logic for 1pc and async commit ( #23342 )
2021-03-18 12:52:55 +08:00
bdfcaf883e
executor: skip lock key if lock key is empty ( #23188 )
2021-03-09 22:46:54 +08:00
030a00e55d
store/tikv: Add more failpoints ( #22362 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2021-01-21 13:40:29 +08:00
4088c2011b
planner: check index valid while forUpdateRead ( #22152 )
...
Signed-off-by: you06 <you1474600@gmail.com >
2021-01-12 15:09:59 +08:00
fd7da4fbe6
test: stabilize test case ( #22276 )
2021-01-07 22:11:57 +08:00
67da69b122
txn: change check logic for column type change for amend ( #22150 )
2021-01-06 14:01:11 +08:00
db7757602f
txn: add pessimistic retry logic for amend pessimistic lock phase ( #21925 )
2020-12-22 17:20:00 +08:00
291d0b8ee6
txn: disable amend by default on master ( #21829 )
2020-12-16 13:34:04 +08:00
052d716955
test: stablize test case ( #21643 )
2020-12-10 21:16:21 +08:00
bc41e47360
store/tikv: support fallback from async commit (take 2) ( #21531 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-12-10 12:16:21 +08:00
2595487ff1
session: disable a fallback related assertion temporarily ( #21563 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-12-08 19:16:47 +08:00
d19a21d92a
ddl, server, session: make gocritic happy ( #21544 )
2020-12-08 12:09:48 +08:00
051285a572
txn: fix the inconsistency caused by amend, support unique index amend ( #21267 )
2020-12-02 12:04:47 +08:00
0e2f18d8f9
store, config, session: Use system variables to enable async commit and 1PC ( #21365 )
...
* add a system variable for enabling async commit
Signed-off-by: ekexium <ekexium@gmail.com >
* remove async commit enable config item
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for enabling 1PC
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* remove 1pc item in config
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* correct the condition to enable 1pc
Signed-off-by: ekexium <ekexium@gmail.com >
* do not enable 1pc/async commit on bootstrap if store is not tikv
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor checkAsyncCommit
Signed-off-by: ekexium <ekexium@gmail.com >
* fix test: enable async commit or 1PC by setting txn options
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for external consistency
Signed-off-by: ekexium <ekexium@gmail.com >
* remove external consistency config item
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: checkXXX does not need parameters
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: add a helper function to pessimistic_test
Signed-off-by: ekexium <ekexium@gmail.com >
* change allowed scope to global or session
Signed-off-by: ekexium <ekexium@gmail.com >
* fix external consistency test
Signed-off-by: ekexium <ekexium@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-12-02 11:49:57 +08:00