-
Notifications
You must be signed in to change notification settings - Fork 726
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: completely remove the deprecated field from the PD server config #8981
Conversation
a3cd92a
to
b888156
Compare
Signed-off-by: nolouch <[email protected]>
b888156
to
1204952
Compare
ptal @niubell |
c.FlowRoundByDigit = math.MaxInt8 | ||
} | ||
case defineOld: | ||
return errors.Errorf("config item %s and %s(deprecated) are conflict", newName, oldName) |
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 report an error? How about print a warning?
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.
I think it's better to report the error, as the previous behavior also did.
Signed-off-by: nolouch <[email protected]>
bffe5e4
to
9b497cd
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8981 +/- ##
==========================================
+ Coverage 74.91% 76.39% +1.47%
==========================================
Files 416 465 +49
Lines 42103 70539 +28436
==========================================
+ Hits 31543 53888 +22345
- Misses 7810 13314 +5504
- Partials 2750 3337 +587
Flags with carried forward coverage won't be shown. Click here to find out more. |
[LGTM Timeline notifier]Timeline:
|
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bufferflies, niubell, rleungx The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
462d259
to
9b497cd
Compare
/run-cherry-picker |
In response to a cherrypick label: new pull request created to branch |
…fig (#8981) (#8985) close #8980 server/config: completely remove the deprecated field from the PD server config Signed-off-by: nolouch <[email protected]> Co-authored-by: nolouch <[email protected]>
What problem does this PR solve?
Issue Number: Close #8980
What is changed and how does it work?
Check List
Tests
From 7.1.1 to master:
master restart twice:
Code changes
Side effects
Related changes
pingcap/docs
/pingcap/docs-cn
:pingcap/tiup
:Release note