-
Notifications
You must be signed in to change notification settings - Fork 721
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
config: fix schedulers maybe lost after restarting #2154
Conversation
Signed-off-by: Ryan Leung <[email protected]>
0db4138
to
02171fb
Compare
Codecov Report
@@ Coverage Diff @@
## master #2154 +/- ##
==========================================
+ Coverage 76.01% 76.24% +0.22%
==========================================
Files 195 195
Lines 20603 20626 +23
==========================================
+ Hits 15662 15726 +64
+ Misses 3743 3713 -30
+ Partials 1198 1187 -11
Continue to review full report at Codecov.
|
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
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, better to add a test though
/run-all-tests |
/merge |
/run-all-tests |
@rleungx merge failed. |
/run-all-tests |
/build |
/run-all-tests |
/merge |
/run-all-tests |
What problem does this PR solve?
When we enable dynamic config, if we use pd-ctl to add a scheduler, it won't update the config manager and it will be lost after restarting. It should be reviewed after #2153 is merged.
What is changed and how it works?
This PR adds a callback function to update the config manager to solve the above problem.
Check List
Tests