Yongbo Jiang
3f7860f109
region_request: handle resource group error before Backoff ( #719 )
...
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
Co-authored-by: disksing <i@disksing.com>
2023-03-02 13:40:57 +08:00
Yongbo Jiang
e2da552702
*: Update pd client ( #722 )
...
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
Co-authored-by: disksing <i@disksing.com>
2023-02-28 17:15:02 +08:00
disksing
891ef575be
update golang.org/x/net ( #717 )
...
Signed-off-by: disksing <i@disksing.com>
2023-02-27 13:43:10 +08:00
iosmanthus
e0e6019f8a
attach keyspace_id to tikv/tiflash requests ( #682 )
2023-02-20 13:10:03 +08:00
ShuNing
95ebf6a863
upgrade pd client version ( #701 )
...
Signed-off-by: nolouch <nolouch@gmail.com>
2023-02-09 12:40:22 +08:00
disksing
9b3ecc1dca
*: update pd client ( #694 )
...
Signed-off-by: disksing <i@disksing.com>
2023-02-07 12:00:04 +08:00
Hangjie Mo
56c521f109
internal: update `FlashbackInProgress` error msg ( #692 )
...
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
2023-02-06 17:34:59 +08:00
Hu#
8fd09cd88c
config support both path and names ( #683 )
...
Signed-off-by: HuSharp <jinhao.hu@pingcap.com>
2023-02-02 18:11:45 +08:00
JmPotato
ed6d507bc7
Update the go.mod
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-01-19 20:10:24 +08:00
HuSharp
158f72c6f3
update pd client
...
Signed-off-by: HuSharp <jinhao.hu@pingcap.com>
2023-01-19 18:06:38 +08:00
HuSharp
1679631b9a
update tidb
...
Signed-off-by: HuSharp <jinhao.hu@pingcap.com>
2023-01-19 16:23:55 +08:00
JmPotato
d4ffd3d25b
Update the go.mod
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-01-19 12:18:26 +08:00
JmPotato
35b648cf98
Address the comments
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-01-18 20:15:50 +08:00
Hu#
2a02753d9c
client: update pd/client to repair kvproto compatibility ( #667 )
...
Signed-off-by: HuSharp <jinhao.hu@pingcap.com>
2023-01-18 19:18:40 +08:00
JmPotato
6ee294fedf
Introduce the resource control client
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-01-18 17:14:24 +08:00
David
f313ddf58d
reformat codec and add keyspace support ( #649 )
...
Signed-off-by: David <8039876+AmoebaProtozoa@users.noreply.github.com>
2023-01-10 15:15:33 +08:00
Zwb
c20405f345
support witness peers ( #633 )
...
Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
2023-01-09 20:53:19 +08:00
glorv
4e1d38d8f8
add resource group name in request context ( #650 )
...
Signed-off-by: glorv <glorvs@163.com>
2023-01-09 15:18:45 +08:00
haojinming
1780ed1dca
Fix security alert ( #654 )
...
Signed-off-by: haojinming <jinming.hao@pingcap.com>
2023-01-05 13:54:53 +08:00
tiancaiamao
43601f3d49
go.mod: update github.com/tiancaiamao/gp ( #652 )
...
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
2022-12-30 17:39:35 +08:00
tiancaiamao
018c59dbd8
bind the goroutine pool with store and close on Close ( #645 )
...
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
2022-12-26 16:01:48 +08:00
tiancaiamao
809eb2d10f
use goroutine pool to avoid the `runtime.newstack` call ( #637 )
...
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
2022-12-14 16:16:36 +08:00
Hangjie Mo
857772dd09
go.mod: update kvproto to adapt flashback ( #626 )
...
* go.mod: update kvproto to adapt flashback
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
* update go.mod
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
2022-11-29 11:21:17 +08:00
Weizhen Wang
81939ec8b2
fix data race at the memChangeHook ( #625 )
...
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2022-11-28 10:56:02 +08:00
xiongjiwei
e9db9e6a8a
make `txn_source` be u64 type ( #618 )
...
Signed-off-by: xiongjiwei <xiongjiwei1996@outlook.com>
2022-11-21 10:50:13 +08:00
xiongjiwei
e72337b647
txn: add `txn_source` field in txn ( #617 )
...
Signed-off-by: xiongjiwei <xiongjiwei1996@outlook.com>
2022-11-15 13:18:26 +08:00
YangKeao
30e803b708
implement the external timestamp client ( #610 )
...
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
2022-10-31 14:32:02 +08:00
JmPotato
91be9c6ce6
Introduce the FlashbackNotPrepared error ( #606 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2022-10-17 17:26:35 +08:00
Hangjie Mo
51f3bd3944
*: Support kv_prepare_flashback_to_version cmd ( #592 )
...
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
2022-09-29 19:13:18 +08:00
ekexium
426055b575
Distinguish different types of write conflicts ( #583 )
...
* distinguish different types of write conflicts
Signed-off-by: ekexium <eke@fastmail.com>
* update kvproto; add write conflict reason
Signed-off-by: ekexium <eke@fastmail.com>
Signed-off-by: ekexium <eke@fastmail.com>
Co-authored-by: Yilin Chen <sticnarf@gmail.com>
2022-09-08 19:49:57 +08:00
JmPotato
e425355a10
*: introduce the non-retryable error FlashbackInProgress ( #579 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2022-09-06 14:28:21 +08:00
JmPotato
87f5f61897
Support the kv_flashback_to_version cmd ( #578 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2022-09-05 11:36:49 +08:00
ekexium
0130f76738
Support postponed conflict check ( #556 )
...
* replace kvproto
Signed-off-by: ekexium <eke@fastmail.com>
* support NeedConflictCheck
Signed-off-by: ekexium <eke@fastmail.com>
* fix mutation encoding
Signed-off-by: ekexium <eke@fastmail.com>
* support temporary flag
Signed-off-by: ekexium <eke@fastmail.com>
* update kvproto
Signed-off-by: ekexium <eke@fastmail.com>
* fix style
Signed-off-by: ekexium <eke@fastmail.com>
* add an option to enable the behavior
Signed-off-by: ekexium <eke@fastmail.com>
* replace AfterCheckPoint with existing canModity
Signed-off-by: ekexium <eke@fastmail.com>
* UpdateFlag do not unset temporary flag
Signed-off-by: ekexium <eke@fastmail.com>
* remove unused function
Signed-off-by: ekexium <eke@fastmail.com>
* update tidb dependency
Signed-off-by: ekexium <eke@fastmail.com>
update tidb dependency
Signed-off-by: ekexium <eke@fastmail.com>
* fix test
Signed-off-by: ekexium <eke@fastmail.com>
* do no unset flag on read
Signed-off-by: ekexium <eke@fastmail.com>
* update tidb dependency
Signed-off-by: ekexium <eke@fastmail.com>
* update comment
Signed-off-by: ekexium <eke@fastmail.com>
Signed-off-by: ekexium <eke@fastmail.com>
2022-08-30 15:38:39 +08:00
Hangjie Mo
0cdc7c1d0f
go.mod: update pd/client ( #554 )
...
* go.mod: update pd/client
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
* go mod tidy
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
* update go.mod in it
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
* fix test
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
2022-07-25 17:08:34 +08:00
Weizhen Wang
86d51ba7eb
*: update google/btree to improve performance ( #547 )
...
* *: update google/btree to improve performance
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
* update ci
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2022-07-18 16:02:14 +08:00
Yilin Chen
57c12f7c64
Handle more detailed statistics from TiKV ( #536 )
...
* support more detailed statistics returned from TiKV
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
* fix log formatting
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
* add to test
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2022-07-13 16:56:47 +08:00
you06
bb026bdad8
client: support requests with source label ( #506 )
...
* support request scope and source.
Signed-off-by: you06 <you1474600@gmail.com>
* update
Signed-off-by: you06 <you1474600@gmail.com>
* use counter for requests with too-many source
Signed-off-by: you06 <you1474600@gmail.com>
* refine resolve lock
Signed-off-by: you06 <you1474600@gmail.com>
* remove request source from resolve details
Signed-off-by: you06 <you1474600@gmail.com>
* address comment
Signed-off-by: you06 <you1474600@gmail.com>
2022-06-24 18:17:09 +08:00
guo-shaoge
700cbe60d2
support find stores with tiflash_mpp label ( #481 )
...
Signed-off-by: guo-shaoge <shaoge1994@163.com>
Co-authored-by: Yilin Chen <sticnarf@gmail.com>
2022-05-23 11:22:53 +08:00
Wenxuan
5d3195ce11
tiflash: Add TiFlash compact command ( #504 )
...
* Add TiFlash compact command
Signed-off-by: Wish <breezewish@outlook.com>
* Fix integration test go.mod
Signed-off-by: Wish <breezewish@outlook.com>
* Upgrade tidb dependency
Signed-off-by: Wish <breezewish@outlook.com>
* Use newer golang compiler
Signed-off-by: Wish <breezewish@outlook.com>
2022-05-17 21:31:43 +08:00
Lei Zhao
7e34d88af3
region_cache: support buckets ( #439 )
...
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
2022-03-09 13:52:39 +08:00
cfzjywxk
079e2dce4e
txn: support read-consistency read with tso checking ( #447 )
...
Signed-off-by: cfzjywxk <lsswxrxr@163.com>
2022-03-08 10:31:03 +08:00
disksing
589cf79b2a
*: update etcd client to v3.5.2 ( #423 )
...
Signed-off-by: disksing <i@disksing.com>
2022-02-17 22:01:16 +08:00
LemonHX
d228150997
implement pd's global config ( #405 )
...
* update kvproto and pd, implement global config mock api
Signed-off-by: lemonhx <lemonhx@lemonhx.tech>
* update tidb version
Signed-off-by: lemonhx <lemonhx@lemonhx.tech>
* update pd version to pass tikv integration test
Signed-off-by: lemonhx <lemonhx@lemonhx.tech>
2022-01-06 20:00:26 -08:00
iosmanthus
fe2def20bb
fix RawBatchPutRequest forward compatibility ( #403 )
...
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2022-01-05 22:53:06 -08:00
Lei Zhao
3a7675742e
txnkv: read through locks ( #380 )
...
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
2021-12-01 16:35:10 +08:00
Sandy Xu
b0d9bb8821
Bump go version to 1.16 ( #379 )
...
* Revert "use ioutil.ReadFile to release dependency of Go 1.16 (#217 )"
This reverts commit aadf3cf627 .
Signed-off-by: Sandy Xu <sandy@juicedata.io>
* use go 1.16 for examples
Signed-off-by: Sandy Xu <sandy@juicedata.io>
2021-11-18 06:06:13 -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
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
9921da23d5
*: remove parser dependency ( #324 )
...
Signed-off-by: disksing <i@disksing.com>
2021-10-12 00:54:00 +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