Yexiang Zhang
|
6165dbaa95
|
introduce RPC interceptor mechanism (#389)
* Add interceptor mechanism for tikv RPC
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Rename comment
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Modify comments
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Fix ineffectual assignment
Signed-off-by: mornyx <mornyx.z@gmail.com>
* add AddInterceptor for KVTxn and KVSnapshot
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Separate intercepor package
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Add comments
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Add order test
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Fix integration tests
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Fix integration tests
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Move interceptor call from client to client_collapse
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Add comments
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Fix comment
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Add client_interceptor
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Modify comment
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Add ut
Signed-off-by: mornyx <mornyx.z@gmail.com>
|
2021-12-18 13:03:06 +08:00 |
Yexiang Zhang
|
3b9f591c3f
|
txnkv: add callback for setting ResourceGroupTag (#368)
* Replace resourceGroupTag with resourceGroupTagFactory(firstKey)
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Fix npe
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Abstract ResourceGroupFactory
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Optimized as ResourceGroupTagger
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Add test for resource group tagger
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Fix unexpected request failed in mock store
Signed-off-by: mornyx <mornyx.z@gmail.com>
* Fix integration tests
Signed-off-by: mornyx <mornyx.z@gmail.com>
Co-authored-by: Wenxuan <breezewish@pingcap.com>
|
2021-11-14 19:11:14 -08:00 |
disksing
|
9ec50224be
|
*: replace pingcap/errors with pkg/errors (#357)
Signed-off-by: disksing <i@disksing.com>
|
2021-11-01 11:59:52 +08:00 |
disksing
|
c425022782
|
*: remove use of errors.Trace (#353)
Signed-off-by: disksing <i@disksing.com>
|
2021-10-28 16:25:58 +08: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
|
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 |
Song Gao
|
a8fa8acd44
|
rename txnScope as readReplicaScope (#305)
Signed-off-by: yisaer <disxiaofei@163.com>
|
2021-09-13 17:49:25 +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 |
disksing
|
288c649636
|
fix license (#267)
Signed-off-by: disksing <i@disksing.com>
|
2021-08-15 01:48:01 +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 |
iosmanthus
|
ce04aa0bf1
|
add raw cas feature (#239)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
|
2021-07-21 13:52:18 +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
|
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
|
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
|
7edd63c5d4
|
*: init v2 branch (#77)
Signed-off-by: disksing <i@disksing.com>
|
2021-06-11 12:01:46 +08:00 |