Commit Graph

14 Commits

Author SHA1 Message Date
lhy1024 7db3b6232c
test: check failpoint result in tests (#9500)
ref tikv/pd#4399

Signed-off-by: lhy1024 <admin@liudos.us>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
2025-07-08 07:42:24 +00:00
okJiang ccec1772e1
core: Refactor checkstore and progress manager (#9333)
close tikv/pd#8165

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
2025-06-26 10:46:12 +00:00
Ryan Leung 14748648c7
*: enable more linters (#8742)
ref tikv/pd#4399

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
2024-10-25 04:07:38 +00:00
Yongbo Jiang 945e29c033
cluster: dynamic progress time window for offline scene (#7722)
close tikv/pd#7726

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
2024-04-01 02:33:15 +00:00
Hu# 5f5fdb25f4
*: fix typos (#7866)
ref tikv/pd#4399

Signed-off-by: husharp <jinhao.hu@pingcap.com>
2024-03-01 12:15:31 +00:00
lhy1024 ac9383f160
*: replace `re.Len 0` with `re.Empty` (#5210)
ref tikv/pd#4813

Signed-off-by: lhy1024 <admin@liudos.us>
2022-06-22 13:56:37 +08:00
JmPotato 4133b9ff19
pkg: parallelize the pkg tests (#5094)
ref tikv/pd#5087

Parallelize the `pkg` tests as much as possible.

Signed-off-by: JmPotato <ghzpotato@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-07 14:14:30 +08:00
JmPotato fc55b446f9
* : testify all pkg tests (#5091)
ref tikv/pd#4813

Testify all pkg tests.

Signed-off-by: JmPotato <ghzpotato@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-02 11:56:28 +08:00
JmPotato 422acfb5e6
mockhbstream, movingaverage, netutil, progress: testify the tests (#5086)
ref tikv/pd#4813

Testify the pkg/mockhbstream, pkg/movingaverage, pkg/netutil, pkg/progress tests.

Signed-off-by: JmPotato <ghzpotato@gmail.com>
2022-06-01 17:42:29 +08:00
Ryan Leung 7088c95c0e
pkg: make speed estimation more accurate (#4963)
ref tikv/pd#4640

Signed-off-by: Ryan Leung <rleungx@gmail.com>
2022-05-17 17:10:39 +08:00
Ryan Leung d6557df699
* : return error if get progress status failed (#4930)
ref tikv/pd#4640

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-16 12:10:37 +08:00
Ryan Leung 5b6a472496
*: use topology weight to estimate preparing transition (#4718)
ref tikv/pd#4640

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-04-29 17:16:52 +08:00
Ryan Leung e71664f2ae
pkg: refactor the progress indicator (#4874)
ref tikv/pd#4640, ref tikv/pd#4718

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-04-29 10:22:54 +08:00
Ryan Leung 07a6bcd318
pkg: add progress indicator (#4682)
ref tikv/pd#4640

Signed-off-by: Ryan Leung <rleungx@gmail.com>
2022-04-14 11:04:36 +08:00