-
Notifications
You must be signed in to change notification settings - Fork 24
[to #67] remove unused code related to parser #78
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
Conversation
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
|
now only the following places directly relaies on parser, I'll try to remove them later in this PR: |
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
| ) | ||
|
|
||
| // LoadRestoreStores loads the stores used to restore data. | ||
| func (rc *Client) LoadRestoreStores(ctx context.Context) error { |
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.
These methods seems to be used to stop PD scheduling regions during restore, as we have pre-splitted regions. But need some changes (on the table codes).
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. We can add it back once needed.
pingyu
left a comment
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
Signed-off-by: Jian Zhang zjsariel@gmail.com
What problem does this PR solve?
Issue Number: [to #67]
Problem Description: I found br relies on pingcap/parser, which makes the dependency hard to manage, i.e, upgrade some packages like kvproto to a newer version
What is changed and how does it work?
this pr aims to delete parser related functions and simplify the dependency
Code changes
Check List for Tests
This PR has been tested by at least one of the following methods:
Side effects
Related changes