-
Notifications
You must be signed in to change notification settings - Fork 727
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
core: use previous size if heartbeat's size is zero #4243
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
@PatrickNicholas CI failed. |
fc7f774
to
6874ff9
Compare
fixed, PTAL |
@PatrickNicholas: GitHub didn't allow me to request PR reviews from the following users: PTAL. Note that only tikv members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## master #4243 +/- ##
==========================================
+ Coverage 74.80% 74.87% +0.06%
==========================================
Files 264 264
Lines 27246 27253 +7
==========================================
+ Hits 20382 20405 +23
+ Misses 5043 5036 -7
+ Partials 1821 1812 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
6874ff9
to
433d4f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be helpful in reducing redundant scheduling during reboots, but it would also make monitoring unintuitive.
e0827b0
to
c451858
Compare
Do you mean the monitoring of region size is not intuitive enough? TiKV server will update the region size asynchronously and report it to PD. This process is within 10 minutes and is related to the cluster size, the unintuitiveness intervals should be acceptable? |
/test |
c451858
to
38260e4
Compare
ref tikv/tikv#11114 Signed-off-by: p4tr1ck <patrick.li@pingcap.com>
38260e4
to
a9f3cb6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except for @lhy1024 's comment
/merge |
@rleungx: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: a9f3cb6
|
Signed-off-by: p4tr1ck <patrick.li@pingcap.com>
c087ad1
to
8d69120
Compare
/merge |
@lhy1024: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 8d69120
|
@PatrickNicholas: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
* core: use previous size if heartbeat's size is zero ref tikv/tikv#11114 Signed-off-by: p4tr1ck <patrick.li@pingcap.com> * add issue link (tikv#4258) Signed-off-by: p4tr1ck <patrick.li@pingcap.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: hzh0425 <642256541@qq.com>
ref tikv/tikv#11114
Signed-off-by: p4tr1ck patrick.li@pingcap.com
What problem does this PR solve?
Part of tikv/tikv#11114
close #4258
What is changed and how it works?
If region size is zero, try to use the previous size in origin region info.
Check List
Tests
Code changes
none
Side effects
Related changes
Release note