-
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: deprecate allow-auto-random option #18618
Conversation
/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.
I think you should add a diagnostic rule for it, and warn users if this configuration is configured explicity.
Codecov Report
@@ Coverage Diff @@
## master #18618 +/- ##
===========================================
Coverage 79.4850% 79.4850%
===========================================
Files 540 540
Lines 145723 145723
===========================================
Hits 115828 115828
Misses 20557 20557
Partials 9338 9338 |
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
/merge |
/run-all-tests |
@tangenta merge failed. |
/run-integration-copr-test |
/run-check_dev_2
|
/run-cherry-picker |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #18623 |
What problem does this PR solve?
Fix pingcap/tiup#598
What is changed and how it works?
Proposal: xxx
What's Changed: Add
allow-auto-random
to deprecate config option to avoid config-check failed.Related changes
Check List
Tests
Now it will return
0
if we provide allow-auto-random configuration.Side effects
Release note