Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Conversation

@lowzj
Copy link
Member

@lowzj lowzj commented Jun 19, 2019

Signed-off-by: lowzj [email protected]

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@pouchrobot pouchrobot added kind/bug This is bug report for project size/M labels Jun 19, 2019
@codecov-io
Copy link

codecov-io commented Jun 19, 2019

Codecov Report

Merging #620 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #620      +/-   ##
==========================================
- Coverage   46.28%   46.26%   -0.03%     
==========================================
  Files          99       99              
  Lines        5876     5877       +1     
==========================================
- Hits         2720     2719       -1     
- Misses       2932     2933       +1     
- Partials      224      225       +1
Impacted Files Coverage Δ
supernode/daemon/mgr/progress/progress_util.go 21.42% <0%> (+0.33%) ⬆️
supernode/daemon/mgr/progress/progress_manager.go 26.08% <0%> (ø) ⬆️
supernode/daemon/mgr/scheduler/manager.go 24.61% <0%> (-1.37%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7431049...f9c9e86. Read the comment docs.


// if service has failed for EliminationLimit times, and then it should not be needed.
if peerState.ServiceErrorCount >= config.EliminationLimit {
if peerState.ServiceDownTime != nil && peerState.ServiceErrorCount.Get() >= config.EliminationLimit {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/ServiceDownTime/ServiceErrorCount?

@starnop
Copy link
Contributor

starnop commented Jun 20, 2019

LGTM.

@starnop starnop merged commit 0fdd978 into dragonflyoss:master Jun 20, 2019
@lowzj lowzj deleted the increase-load branch June 20, 2019 08:17
starnop added a commit to starnop/Dragonfly that referenced this pull request Nov 27, 2019
bugfix: increase load of the peer serving for others
inoc603 pushed a commit to inoc603/Dragonfly that referenced this pull request Dec 23, 2019
bugfix: increase load of the peer serving for others
sungjunyoung pushed a commit to sungjunyoung/Dragonfly that referenced this pull request May 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

kind/bug This is bug report for project size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants