Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
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 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
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
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 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
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 666340265a
integration: add goleak (#173) 2021-06-28 14:41:10 +08:00
disksing f634df18a9
2pc_test: replace pingcap/check with testify (#163)
Signed-off-by: disksing <i@disksing.com>
2021-06-24 16:26:43 +08:00
disksing 24794913db
integration_tests: reduce memory usage (#155)
Signed-off-by: disksing <i@disksing.com>
2021-06-24 08:16:07 +08:00
disksing e1c2e9cab5
all tests run in serial (#150)
Signed-off-by: disksing <i@disksing.com>
2021-06-23 15:46:42 +08:00
disksing 937bc23425
update license (#110)
Co-authored-by: Shirly <AndreMouche@126.com>
2021-06-22 10:29:28 +08:00
disksing a76108498b
*: add integration_tests (#82) 2021-06-16 14:57:17 +08:00