Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store/helper: remove timeout for fetch diagnose from info pd #11352

Merged
merged 3 commits into from
Jul 23, 2019
Merged

store/helper: remove timeout for fetch diagnose from info pd #11352

merged 3 commits into from
Jul 23, 2019

Conversation

lysu
Copy link
Contributor

@lysu lysu commented Jul 22, 2019

What problem does this PR solve?

current timeout for fetch diagnose info from pd is too short for cluster that have many regions.

What is changed and how it works?

remove timeout when we need to get diagnose info even if it's slow

Check List

Tests

  • Unit test
  • Integration test

Code changes

  • N/A

Side effects

  • N/A

Related changes

  • Need to cherry-pick to the release 3.0

This change is Reviewable

@lysu
Copy link
Contributor Author

lysu commented Jul 22, 2019

/run-all-tests

@lysu lysu requested a review from winoros July 22, 2019 03:36
@codecov
Copy link

codecov bot commented Jul 22, 2019

Codecov Report

Merging #11352 into master will decrease coverage by 0.2682%.
The diff coverage is 100%.

@@              Coverage Diff               @@
##           master     #11352        +/-   ##
==============================================
- Coverage   81.53%   81.2618%   -0.2683%     
==============================================
  Files         424        423         -1     
  Lines       91408      90201      -1207     
==============================================
- Hits        74525      73299      -1226     
- Misses      11594      11603         +9     
- Partials     5289       5299        +10

@codecov
Copy link

codecov bot commented Jul 22, 2019

Codecov Report

Merging #11352 into master will decrease coverage by 0.0233%.
The diff coverage is 100%.

@@               Coverage Diff                @@
##             master     #11352        +/-   ##
================================================
- Coverage   81.2851%   81.2618%   -0.0234%     
================================================
  Files           423        423                
  Lines         90399      90201       -198     
================================================
- Hits          73481      73299       -182     
+ Misses        11612      11603         -9     
+ Partials       5306       5299         -7

Copy link
Member

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@winoros winoros left a comment

Choose a reason for hiding this comment

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

lgtm

@zz-jason zz-jason added the status/LGT2 Indicates that a PR has LGTM 2. label Jul 23, 2019
@zz-jason zz-jason merged commit 37bb4ba into pingcap:master Jul 23, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Jul 23, 2019

cherry pick to release-3.0 in PR #11383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/server status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants