glorv
e80e9ca1fe
resource_control: add ru details in ExecDetails ( #1070 )
...
* collecting the RU information by pasing point through context.Value (#1032 )
Signed-off-by: zzm <zhouzemin@pingcap.com>
* add ruWaitDuration to RUDetails and update pd-client
Signed-off-by: glorv <glorvs@163.com>
---------
Signed-off-by: zzm <zhouzemin@pingcap.com>
Signed-off-by: glorv <glorvs@163.com>
Co-authored-by: zzm <zhouzemin@pingcap.com>
2023-12-04 15:40:48 +08:00
JmPotato
0336665e5f
Update TiDB version in the integration test ( #1071 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-12-04 11:41:43 +08:00
Yongbo Jiang
0ff16620f6
pd client: uprade and fit get region option ( #1069 )
...
* fit get region option
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
* replace tidb
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
* replace tidb
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
---------
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
2023-12-01 10:44:04 +08:00
glorv
1c2351c281
resource_control: set override_priority with resource group priority by default ( #1060 )
...
* set override_priority with resource group priority
Signed-off-by: glorv <glorvs@163.com>
* update go.mod
Signed-off-by: glorv <glorvs@163.com>
* fix typo
Signed-off-by: glorv <glorvs@163.com>
* fix
Signed-off-by: glorv <glorvs@163.com>
---------
Signed-off-by: glorv <glorvs@163.com>
2023-11-16 13:17:30 +08:00
JmPotato
8fc8a52821
Refine the init method of PD HTTP client ( #1058 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-11-14 14:09:55 +08:00
JmPotato
9caddec131
Update PD client to the latest version ( #1056 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-11-13 14:11:07 +08:00
JmPotato
845e3b01a2
Support to integrate with the PD HTTP client ( #1049 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
Co-authored-by: disksing <i@disksing.com>
2023-11-09 10:31:01 +08:00
Weizhen Wang
3520f13fc0
*: upgrade grpc and etcd ( #1044 )
...
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2023-10-30 10:15:33 +08:00
xufei
76951801b9
save work ( #1031 )
...
Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
2023-10-25 15:24:30 +08:00
xufei
cad3142206
schedule async reload for region that has unavailable tiflash peers to avoid load un-balance issue ( #1029 )
...
Signed-off-by: xufei <xufei@pingcap.com>
Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
2023-10-25 10:24:11 +08:00
dependabot[bot]
ec40555fac
Bump golang.org/x/net from 0.15.0 to 0.17.0 in /integration_tests ( #1014 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 14:15:39 +08:00
Hu#
652de4de2d
min-safe-ts: fix MinSafeTS might be set to MaxUint64 permanently ( #994 )
...
* fix
Signed-off-by: husharp <jinhao.hu@pingcap.com>
* refine test
Signed-off-by: husharp <jinhao.hu@pingcap.com>
* address comment
Signed-off-by: husharp <jinhao.hu@pingcap.com>
* refine test
Signed-off-by: husharp <jinhao.hu@pingcap.com>
---------
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-10-09 10:08:55 +08:00
Hu#
b535011f12
update fo mod ( #995 )
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
Co-authored-by: disksing <i@disksing.com>
2023-10-07 11:37:03 +08:00
bufferflies
94e94cb874
update kvproto
...
Signed-off-by: bufferflies <1045931706@qq.com>
2023-09-08 15:56:46 +08:00
husharp
5527f3dd0e
address comment
...
Signed-off-by: husharp <ihusharp@gmail.com>
2023-09-01 17:33:32 +08:00
husharp
ae859e2450
refine test
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-09-01 15:28:18 +08:00
husharp
3c7fc08748
rebase gomod
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-08-31 14:27:57 +08:00
husharp
75a9879730
merge master
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-08-30 13:10:31 +08:00
buffer
ff39b4af09
error: handle bucket version not match ( #918 )
2023-08-22 03:25:20 -06:00
husharp
97f9c1835b
nit change
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-08-21 10:26:21 +08:00
husharp
cedc94b3ee
use config instead
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-08-16 15:59:30 +08:00
husharp
0930be96a5
remove ci
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-08-02 18:40:29 +08:00
husharp
c5bf330532
expand min-resolved-ts to support stores
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2023-08-02 15:14:15 +08:00
Hu#
76d6d93e98
resource_manager: ignore ru metrics for background request ( #872 )
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
Co-authored-by: disksing <i@disksing.com>
2023-07-26 15:13:54 +08:00
Hangjie Mo
2f119351bd
*: add `SnapshotIterReverse` and make `iterReverse` supports `lowerBound` ( #883 )
...
Signed-off-by: Jason Mo <mohangjie1995@gmail.com>
2023-07-14 10:36:07 +08:00
MyonKeminta
c0cf773917
Fix the issue that primary pessimistic lock may be left not cleared after GC ( #866 )
...
* Fix the issue that primary pessimistic lock may be left not cleared after GC
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix mysteriously shown up thing that makes compilation failed
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix test effectiveness (forgot to set txn2 to pessimistic txn); add more strict checks
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Address comments
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
---------
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2023-07-04 15:17:05 +08:00
glorv
18b17d4b72
fix rpc interceptor data race ( #845 )
...
Signed-off-by: glorv <glorvs@163.com>
2023-06-18 22:18:18 -07:00
glorv
0b4b0ca00e
kvrpc: deduplicate chained intercept by name ( #832 )
...
* dedup chained interceptor
Signed-off-by: glorv <glorvs@163.com>
2023-06-13 20:21:06 -07:00
crazycs
df58452fe1
client_batch: add test for auto re-connect idle connection when wait connection ready and fix ci ( #835 )
...
* client_batch: add test
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* fix ci
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* fix ci
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* fix ci
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* update go version
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* fix ci
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* fix ci lint
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* fix ci lint
Signed-off-by: crazycs520 <crazycs520@gmail.com>
---------
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2023-06-13 14:17:17 +08:00
Yongbo Jiang
5ddc523cfc
*: update pd client version ( #830 )
...
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
2023-06-08 15:47:29 +08:00
Weizhen Wang
d3c53d30ff
update dependency ( #816 )
...
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2023-05-24 15:32:22 +08:00
MyonKeminta
d1e188a981
Do not skip TestBatchResolveLocks for unistore ( #807 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2023-05-18 19:48:00 +08:00
Hu#
adb48afeef
pd http: support api to get store min resolved ts ( #793 )
...
Signed-off-by: husharp <ihusharp@gmail.com>
2023-05-12 11:43:16 +08:00
zyguan
2b0667c65c
lock_resolver: handle pessimistic locks in BatchResolveLocks ( #794 )
...
* lock_resolver: handle pessimistic locks in BatchResolveLocks
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Add test but failed on unistore because unistore's ScanLock doesnt return lock type
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Address comments
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix test
Signed-off-by: zyguan <zhongyangguan@gmail.com>
* Fix golangci
Signed-off-by: zyguan <zhongyangguan@gmail.com>
---------
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Signed-off-by: zyguan <zhongyangguan@gmail.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2023-05-11 12:26:01 +08:00
MyonKeminta
5c324b7c1e
lock_resolver: support verifying primary for check_txn_status ( #777 )
...
* support verifying primary for check_txn_status
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* update kvproto
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* add more failpoint usages
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* update depencency and fix test
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Do not skip for unistore; refine logs
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Address comments
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
---------
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2023-05-08 16:18:26 +08:00
Connor
62cc95123c
Fix wrong resource group name for some requests ( #788 )
...
* fix wrong resource group name
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2023-04-28 19:03:56 +08:00
Hu#
069dbc5b6c
fix TestRURuntimeStatsCleanUp ( #787 )
...
Signed-off-by: husharp <ihusharp@gmail.com>
2023-04-28 13:43:54 +08:00
Connor
35c1ee47c4
Set resource group penalty ( #772 )
...
* Set resource group penalty
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2023-04-19 20:39:20 +08:00
MyonKeminta
92db9f7b15
Support specifying checking forUpdateTS in prewrite ( #756 )
...
* Support specifying checking forUpdateTS in prewrite
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix go mod in tests
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Add test
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix test
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Add successful cases to the test
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix test
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Update dependencies
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Check LockedWithConflictTS greater than requested ForUpdateTS
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
---------
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2023-04-17 14:53:28 +08:00
Lloyd-Pottiger
1ec0ff5bf4
Support return TiFlash system table by grpc ( #759 )
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-04-06 14:42:57 +08:00
Ryan Leung
fd1b0552eb
upgrade pd client ( #755 )
...
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2023-03-30 14:55:23 +08:00
MyonKeminta
ea13e97002
Add exitAggressiveLockingIfInapplicable function and call within mutex of lockKeys ( #749 )
...
* Add exitAggressiveLockingIfInapplicable function and call within mutex of lockKeys
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* fix fmt
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Add test
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
---------
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2023-03-28 16:41:04 +08:00
Hu#
f23d942527
gomod: update pd client ( #743 )
...
Signed-off-by: husharp <jinhao.hu@pingcap.com>
Co-authored-by: disksing <i@disksing.com>
2023-03-27 14:37:08 +08:00
JmPotato
9d950905d7
Introduce the RURuntimeStats ( #732 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2023-03-16 10:19:36 +08:00
iosmanthus
eb0bd61645
attach keyspace_id for manual compact request ( #737 )
2023-03-13 14:53:59 +08:00
MyonKeminta
f555fdd2c9
txn: support force locking and lock only if exists be used together ( #727 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2023-03-09 18:08:32 +08:00
Yongbo Jiang
df993878bd
*: update pd client ( #734 )
...
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
2023-03-09 11:34:04 +08:00
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