-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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: introduce a config client to support load configs from PD online #14303
Conversation
310b885
to
87c1924
Compare
/rebuild |
/rebuild |
1 similar comment
/rebuild |
/run-unit-test |
1 similar comment
/run-unit-test |
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
/rebuild |
863b247
to
3d0b8e1
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.
Addressing the comment makes a LGTM
/run-all-tests |
CI failed. |
/run-all-tests |
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
/run-unit-test |
@rleungx All comments have been addressed, PTAL. And please help me to approve this PR if there is no problem. |
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
What problem does this PR solve?
Part I to implement this proposal: #13660.
Wait for tikv/pd#2041.
In this PR, we introduce a config client(
ConfHandler
) to support load configs from PD online.What is changed and how it works?
parsePath
fromkv
package toconfig
package to avoid recycle import.MarshalText
tonullableBool
to make it can be encoded and decoded correctly.ConfHandler
to support to load configs from PD online.Check List
Tests