JmPotato
2fd3841894
Update the PD client to the latest version ( #352 )
...
* Update the PD client to the latest version
Signed-off-by: JmPotato <ghzpotato@gmail.com>
* Temporarily change the TiDB test branch
Signed-off-by: JmPotato <ghzpotato@gmail.com>
* Fix the client-go/integration_tests go.mod
Signed-off-by: JmPotato <ghzpotato@gmail.com>
* Fix the client-go/integration_tests go.mod again
Signed-off-by: JmPotato <ghzpotato@gmail.com>
* Fix the integration_tests
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-10-29 10:40:11 +00:00
disksing
2d145163d0
txnkv/transaction: remove use of errors.Trace ( #351 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-27 10:13:37 +08:00
disksing
61664cf55c
integration_tests: remove use of errors.Trace ( #327 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-13 06:58:44 +00:00
disksing
9921da23d5
*: remove parser dependency ( #324 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-12 00:54:00 +08:00
disksing
49c8dd23f1
error: remove use of terror.ErrResultUndetermined ( #323 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-11 16:31:57 +08:00
Alkaid
128ccbde43
Add read throughput metric for SLI ( #321 )
...
Signed-off-by: jyz0309 <45495947@qq.com>
2021-10-11 11:46:20 +08:00
Yilin Chen
ee5063fec3
Fix flaky TestSecondaryListInPrimaryLock ( #318 )
2021-09-29 13:45:23 +08:00
daimashusheng
4f806a5442
batchput add ttl to every key ( #298 )
...
Signed-off-by: tangjk <tangjiankun1226@gmail.com>
2021-09-26 11:50:08 +00:00
disksing
2d250d555d
error: add function to check if error is undetermined ( #300 )
...
Signed-off-by: disksing <i@disksing.com>
2021-09-08 13:10:34 +08:00
Lei Zhao
1798c19099
separate rawkv and txnkv tests ( #295 )
...
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
2021-09-01 22:05:16 +08:00
Yilin Chen
16d902a3c7
reduce write backoffs but don't count busy errors ( #271 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-08-24 09:05:36 +00:00
Yilin Chen
b440ea2f58
select replica for forward requests using RegionRequestSender ( #264 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-08-16 19:27:02 +08:00
disksing
df2119f51b
client: cleanup RPCClient options ( #268 )
...
Signed-off-by: disksing <i@disksing.com>
2021-08-16 07:11:08 +00:00
disksing
288c649636
fix license ( #267 )
...
Signed-off-by: disksing <i@disksing.com>
2021-08-15 01:48:01 +08:00
tier-cap
14892a598e
*: allow to custom disk_full_opt for transactions ( #256 )
...
Signed-off-by: tier-cap <zhengxiaojin@pingcap.com>
2021-08-06 16:56:16 +08:00
Yilin Chen
6f33dd97af
Start heartbeat immediately after locking the primary key ( #261 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-08-06 11:14:25 +08:00
disksing
d535b62b62
txnkv/transaction: init package ( #260 )
...
Signed-off-by: shirly <AndreMouche@126.com>
Co-authored-by: disksing <i@disksing.com>
2021-07-31 16:26:22 +08:00
Shirly
21ea47fe19
tikv: move temporary export types to package txnkv ( #258 )
...
Signed-off-by: shirly <AndreMouche@126.com>
2021-07-31 14:50:56 +08:00
Yilin Chen
7329876df3
add flag in Context for retried requests ( #244 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-07-27 16:56:30 +08:00
Shirly
070dd85543
txnkv/txnsnapshot: init package for txnsnapshot ( #245 )
...
Signed-off-by: shirly <AndreMouche@126.com>
2021-07-27 12:10:35 +08:00
you06
ce977e34b0
test: fix overflow in ttl equal compare ( #246 )
...
Signed-off-by: you06 <you1474600@gmail.com>
2021-07-26 05:40:04 +00:00
Shirly
ac355144c8
tikv/txn: add new pub function LockKeysWithWaitTime ( #230 )
...
* tikv/txn: add new pub function LockKeysWithWaitTime
Signed-off-by: shirly <AndreMouche@126.com>
* address comments
Signed-off-by: shirly <AndreMouche@126.com>
* tikv/pessimistic: update the constant for lock wait time
Signed-off-by: shirly <AndreMouche@126.com>
* kv/LockCtx: make lockWaitTime private
Signed-off-by: shirly <AndreMouche@126.com>
* address comments
Signed-off-by: shirly <AndreMouche@126.com>
2021-07-23 10:31:23 +08:00
iosmanthus
f3e7dc3042
add raw key ttl feature ( #222 )
...
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-07-21 16:49:17 +08:00
Shirly
654864ded8
txnkv/txnlock: init Lock in txnlock package ( #241 )
...
Signed-off-by: shirly <AndreMouche@126.com>
2021-07-21 15:03:08 +08:00
iosmanthus
ce04aa0bf1
add raw cas feature ( #239 )
...
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-07-21 13:52:18 +08:00
Yilin Chen
f99e5a9251
reset resolvedLocks when setting snapshot ts ( #233 )
...
* reset resolvedLocks when setting snapshot ts
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
* add test
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-07-16 14:15:12 +08:00
Shirly
0539869024
txnkv/*: init txnkv/rangetask package ( #234 )
2021-07-15 10:16:15 +08:00
disksing
f4a87d3b4a
clean up test utilities ( #223 )
...
Signed-off-by: disksing <i@disksing.com>
2021-07-13 16:11:59 +08:00
Yilin Chen
f5a3974312
do not check sessionID for async commit and 1PC ( #228 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-07-13 06:53:58 +00:00
disksing
0fdc8e3d6f
rawkv: move rawkv client to rawkv ( #227 )
...
Signed-off-by: disksing <i@disksing.com>
Co-authored-by: Shirly <AndreMouche@126.com>
2021-07-13 11:56:49 +08:00
Han Fei
2c7970b2b7
export get all tiflash stores information ( #225 )
...
Signed-off-by: Han Fei <hanfei19910905@gmail.com>
2021-07-12 16:20:38 +08:00
disksing
16fb6792bf
move mocktikv to internal package ( #209 )
...
Signed-off-by: disksing <i@disksing.com>
Co-authored-by: Shirly <AndreMouche@126.com>
2021-07-08 12:13:17 +08:00
Lei Zhao
6ca00989dd
lock_resolver: avoid pessimistic transactions using resolveLocksForWrite ( #213 )
...
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
Co-authored-by: disksing <i@disksing.com>
2021-07-06 04:11:21 +00:00
disksing
d0a98864a6
*: move logutil to internal directory ( #207 )
...
Signed-off-by: disksing <i@disksing.com>
2021-07-05 15:15:41 +08:00
Yilin Chen
c2d356f0f9
check in loop to stablize TestContextCancel2 ( #197 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-07-01 12:48:49 +08:00
disksing
1c834e747b
*: update tidb and cleanup unused code ( #196 )
2021-07-01 11:03:55 +08:00
disksing
4e8c0a34c8
move client to internal package ( #194 )
...
Signed-off-by: disksing <i@disksing.com>
Co-authored-by: iosmanthus <MyOsmanthusTree@gmail.com>
2021-06-30 16:18:10 +08:00
disksing
156ed6a2c9
update tidb and clean up unused code ( #190 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-30 11:55:45 +08:00
Yilin Chen
97edee854c
clear RPC error only if prewrite succeeds ( #187 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2021-06-29 16:38:15 +08:00
disksing
666340265a
integration: add goleak ( #173 )
2021-06-28 14:41:10 +08:00
disksing
be29f7ecef
move unionstore package to internal ( #179 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-28 10:36:18 +08:00
disksing
28ad1f94e6
util: add flag to control all failpoints ( #176 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-26 21:46:26 +08:00
disksing
a0410b45bb
introduce goleak ( #172 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-25 12:13:38 +08:00
tison
2e98d94911
*: remove dangling gocheck usages ( #167 )
...
Signed-off-by: tison <wander4096@gmail.com>
Co-authored-by: disksing <i@disksing.com>
2021-06-25 10:39:23 +08:00
disksing
2f0893faf6
snap_test: replace pingcap/check with testify ( #154 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-24 17:35:21 +08:00
disksing
3976d914fe
split_test: replace pingcap/check with testify ( #153 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-24 17:30:28 +08:00
disksing
65beebd7ca
scan_test, safepoint_test: replace pingcap/check with testify ( #157 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-24 17:24:33 +08:00
disksing
ad7f45e411
rawkv_test: replace pingcap/check with testify ( #158 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-24 17:07:30 +08:00
disksing
4e329c1d17
range_task_test: replace pingcap/check with testify ( #159 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-24 16:58:53 +08:00
disksing
74baa6990e
lock_test: replace pingcap/check with testify ( #160 )
...
Signed-off-by: disksing <i@disksing.com>
Co-authored-by: Shirly <AndreMouche@126.com>
2021-06-24 16:33:13 +08:00