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 |
tiancaiamao
|
feeb9d1ed1
|
metrics,internal/client: add metrics for batch client stream receiving duration (#279)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
Co-authored-by: disksing <i@disksing.com>
|
2021-08-23 12:13:37 +00:00 |
lysu
|
0c8381cbc2
|
txnkv: fix delete temp table issue request to kv-server (#281)
Signed-off-by: lysu <sulifx@gmail.com>
|
2021-08-23 19:56:59 +08:00 |
tiancaiamao
|
9d2ad5209e
|
internal/client: remove the lock for idle connection recycle (#278)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
2021-08-23 15:23:11 +08:00 |
MyonKeminta
|
e275d06835
|
txnkv: Fix a bug that OnDeadlock callback is called before setting `IsRetryable` field (#274) (#275)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
|
2021-08-20 13:41:23 +08:00 |
MyonKeminta
|
ff94d0c9ac
|
txnkv: Fix a bug that OnDeadlock callback is called before setting `IsRetryable` field (#274)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
|
2021-08-20 13:16:08 +08:00 |
tiancaiamao
|
31906d4105
|
internal/client: fix recycle idle connection block sending request (#270)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
2021-08-19 23:40:46 +08: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
|
b7d1044eb5
|
config: remove unused utility (#269)
Signed-off-by: disksing <i@disksing.com>
|
2021-08-16 11:55:36 +08:00 |
disksing
|
288c649636
|
fix license (#267)
Signed-off-by: disksing <i@disksing.com>
|
2021-08-15 01:48:01 +08:00 |
Lei Zhao
|
d859acfa07
|
locate: don't backoff if fails to decode region key (#263)
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
|
2021-08-10 17:35:00 +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 |
Jack Yu
|
55155ad2e5
|
*: make grpc request duration more accurate (#253)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
|
2021-07-27 12:09:05 +00:00 |
ShuNing
|
1279692fc2
|
tikv: increase batch split region limit (#254)
Signed-off-by: nolouch <nolouch@gmail.com>
|
2021-07-27 10:57:43 +00: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
|
3d747cd203
|
tikv/kv.go: define NewLock since both tidb and br are using them (#251)
|
2021-07-23 15:30:51 +08:00 |
Shirly
|
fd1d7d8cdf
|
tikv/kv.go: define Lock & LockResolver before updating tidb/br (#250)
|
2021-07-23 14:26:17 +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 |
disksing
|
66f14b8e0d
|
add juiceFS link (#248)
Signed-off-by: disksing <i@disksing.com>
|
2021-07-22 18:38:31 +08:00 |
lysu
|
4e1417e3fb
|
tikv: use resolve lock lite for snapshot.Get() (#247)
Signed-off-by: lysu <sulifx@gmail.com>
|
2021-07-22 17:59:20 +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 |
Shirly
|
807f0cd7e0
|
tikv/gc: init UnsafeDestoryRange (#236)
Signed-off-by: shirly <AndreMouche@126.com>
|
2021-07-16 09:55:00 +00: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 |
ClSlaid
|
c7db3e3cfb
|
[internal]: improve RegionRequestRuntimeStats (#235)
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
|
2021-07-15 09:04:40 +00:00 |
Shirly
|
0539869024
|
txnkv/*: init txnkv/rangetask package (#234)
|
2021-07-15 10:16:15 +08:00 |
Shirly
|
9a71d1d8e3
|
examples/txnkv: add example for delete_range (#232)
|
2021-07-14 06:32:15 +00:00 |
disksing
|
f4a87d3b4a
|
clean up test utilities (#223)
Signed-off-by: disksing <i@disksing.com>
|
2021-07-13 16:11:59 +08:00 |
Shirly
|
d8c7ea50ab
|
examples/*: rm go.sum (#231)
Signed-off-by: shirly <AndreMouche@126.com>
|
2021-07-13 07:17:17 +00: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 |
Shirly
|
5ef645fed2
|
example/txnkv: add example for async_commit (#229)
Signed-off-by: shirly <AndreMouche@126.com>
|
2021-07-12 10:34:19 +00: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 |
Shirly
|
37bd240cdb
|
example/txnkv: add example for 1pc (#224)
Signed-off-by: shirly <AndreMouche@126.com>
|
2021-07-12 12:03:01 +08:00 |
Shirly
|
2e1ad23d9e
|
examples/txnkv: add example for pessimistic txn (#219)
Signed-off-by: shirly <AndreMouche@126.com>
|
2021-07-12 03:51:17 +00:00 |
Sandy Xu
|
aadf3cf627
|
use ioutil.ReadFile to release dependency of Go 1.16 (#217)
Signed-off-by: Sandy Xu <sandy@juicedata.io>
|
2021-07-09 05:25:06 +00:00 |
tiancaiamao
|
a1adc5b85b
|
util: make reduce tsset object allocation (#218)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
2021-07-08 14:56:17 +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 |
Yilin Chen
|
394d9735f8
|
add global async commit and 1pc config (#216)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
|
2021-07-08 11:36:09 +08:00 |
disksing
|
5306eb4a63
|
readme: update stabability description (#215)
Signed-off-by: disksing <i@disksing.com>
|
2021-07-06 13:48:09 +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
|
814e61ee06
|
tikv: extract batch util to kvrpc (#205)
Signed-off-by: disksing <i@disksing.com>
|
2021-07-05 21:26:25 +08:00 |
disksing
|
d0a98864a6
|
*: move logutil to internal directory (#207)
Signed-off-by: disksing <i@disksing.com>
|
2021-07-05 15:15:41 +08:00 |