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
feitian124
b7594dbe6e
tikv: remove use of errors.Trace ( #340 )
...
Signed-off-by: feitian124 <feitian124@gmail.com>
2021-10-20 03:53:36 +00:00
disksing
a7d8ea1587
rawkv: remove use of errors.Trace ( #336 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-13 07:29:43 +00:00
disksing
ed3af2fc7f
internal/mockstore: remove use of errors.Trace ( #334 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-13 07:09:54 +00:00
disksing
3e9bd8b941
internal/locate: remove use of errors.Trace ( #332 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-11 17:05:36 +00:00
disksing
b074cb9ad3
internal/client: remove use of errors.Trace ( #329 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-11 16:59:49 +00: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
disksing
97fac134af
error: replace usages of terror.Log ( #322 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-11 06:08:21 +00:00
you06
843a5378aa
add readable flag ( #320 )
...
Signed-off-by: you06 <you1474600@gmail.com>
2021-10-09 04:30:03 +00:00
Lei Zhao
3b672526bb
fix unknown region error metrics ( #315 )
...
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
Co-authored-by: disksing <i@disksing.com>
2021-09-29 05:50:39 +00: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
Song Gao
3cc2459779
add label ( #314 )
...
Signed-off-by: yisaer <disxiaofei@163.com>
2021-09-26 18:06:28 +08:00
xufei
f65172694b
add `skipSwitchPeerLog` in `OnSendFailForTiFlash` ( #309 )
...
Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
2021-09-23 09:55:21 +00:00
Song Gao
6ca8098ae0
add warn log ( #308 )
...
Signed-off-by: yisaer <disxiaofei@163.com>
2021-09-18 15:13:19 +08:00
tier-cap
f4a640e8e0
rechange to retry when tikv disk full ( #302 )
...
Signed-off-by: tier-cap <zhengxiaojin@pingcap.com>
2021-09-15 13:01:35 +08:00
Song Gao
a8fa8acd44
rename txnScope as readReplicaScope ( #305 )
...
Signed-off-by: yisaer <disxiaofei@163.com>
2021-09-13 17:49:25 +08:00
Jack Yu
d8891ee28d
internal/client: demoted annoying log ( #303 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-09-12 20:45:58 +08:00
JmPotato
c7f8168472
client: fix some typos ( #296 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-09-02 14:01:52 +08:00
Lei Zhao
06c3868595
select replica for replica read requests using ReplicaSelector ( #285 )
...
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
2021-09-02 02:10:36 +00: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
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
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
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
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
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
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
ClSlaid
c7db3e3cfb
[internal]: improve RegionRequestRuntimeStats ( #235 )
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2021-07-15 09:04:40 +00:00
disksing
f4a87d3b4a
clean up test utilities ( #223 )
...
Signed-off-by: disksing <i@disksing.com>
2021-07-13 16:11:59 +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
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
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
48c6c43f04
unionstore: speed up unit test ( #195 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-30 16:11:47 +08:00
disksing
58b6783d1b
*: move retry to internal package ( #186 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-30 12:01:15 +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
be29f7ecef
move unionstore package to internal ( #179 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-28 10:36:18 +08:00
disksing
d1704a7338
move latch to internal package ( #181 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-28 10:21:27 +08:00
disksing
c8aa7be077
*: move locate to internal package ( #183 )
...
Signed-off-by: disksing <i@disksing.com>
2021-06-28 10:15:50 +08:00