-
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
mcs: add scheduling microservice framework #6542
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. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #6542 +/- ##
==========================================
+ Coverage 74.17% 74.26% +0.09%
==========================================
Files 412 412
Lines 43369 43370 +1
==========================================
+ Hits 32167 32208 +41
+ Misses 8316 8290 -26
+ Partials 2886 2872 -14
Flags with carried forward coverage won't be shown. Click here to find out more. |
08e8978
to
40c39ce
Compare
"github.com/stretchr/testify/require" | ||
) | ||
|
||
func TestAdjust(t *testing.T) { |
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.
Do we need to copy TestHotHistoryRegionConfig to here?
) | ||
|
||
// Config is the configuration for the resource manager. | ||
type Config struct { |
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.
There are so many configs. If we add a new config, we will have to add two in mcs server and pd server.
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.
Yes, this part will be refactored later.
8b22e56
to
a2b4c66
Compare
a2b4c66
to
49c9ee0
Compare
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
49c9ee0
to
1e5f9b4
Compare
1e5f9b4
to
3bd7706
Compare
Signed-off-by: Ryan Leung <rleungx@gmail.com>
3bd7706
to
ac93492
Compare
/merge |
@rleungx: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
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: ac93492
|
ref tikv#5839 Signed-off-by: Ryan Leung <rleungx@gmail.com>
What problem does this PR solve?
Issue Number: Ref #5839.
What is changed and how does it work?
Add a basic framework for scheduling service.
Check List
Tests
Release note