-
Notifications
You must be signed in to change notification settings - Fork 720
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
server: operator's timeout depends on steps #4548
Conversation
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
…and operator-time-factor to scheduler config && close 4547 Signed-off-by: bufferflies <1045931706@qq.com>
[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. |
Signed-off-by: bufferflies <1045931706@qq.com>
Codecov Report
@@ Coverage Diff @@
## master #4548 +/- ##
==========================================
- Coverage 75.01% 74.84% -0.18%
==========================================
Files 282 284 +2
Lines 27791 27839 +48
==========================================
- Hits 20847 20835 -12
- Misses 5075 5136 +61
+ Partials 1869 1868 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
max region size
configuration
Signed-off-by: bufferflies <1045931706@qq.com>
Please add some tests |
9f3f1e1
to
c9e5c3e
Compare
Signed-off-by: bufferflies <1045931706@qq.com>
c701fed
to
55ac82a
Compare
Signed-off-by: bufferflies <1045931706@qq.com>
130f9ec
to
8bf3243
Compare
Signed-off-by: bufferflies <1045931706@qq.com>
8bf3243
to
ceee2b7
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.
The rest LGTM.
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.
The rest LGTM.
Signed-off-by: bufferflies <1045931706@qq.com>
27b8fdb
to
e74e2f7
Compare
/merge |
@nolouch: 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: d57e796
|
What problem does this PR solve?
close #4547
depence #4456
What is changed and how it works?
The interface of
OpStep
adds one function: timeout(start time.Time)bool.AddLearnerStep
andAddPeerStep
's timeout : max(10m, multi (the size of region, the store executor rate(6s/m)) )ChangePeerV2Enter
andChangePeerV2Leave
's timeout: multi(count(learner)+count(demote),FastOperatorWaitTime(10s))the others is FastOperatorWaitTime(10s).
``
And the operator timeout depences on the steps.
Check List
Tests
Code changes
Side effects
Related changes
Release note