-
Notifications
You must be signed in to change notification settings - Fork 498
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
make rootpasswordreset optional #922
Conversation
/run-e2e-in-kind |
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.
Rest LGTM
/run-e2e-in-kind |
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
Have you tested these cases manually?:
- no passwd, no init sql
- have passwd, no init sql
- have passwd, have init sql
- no passwd, have init sql
Or can you add these cases to e2e test to cover all these situations?
I test all four cases manually and the result is expected. Adding e2e test is a good idea and i will add these cases in e2e test in near future |
…1008) * align #922 and #970 Signed-off-by: Ran <huangran@pingcap.com> * align #942 Signed-off-by: Ran <huangran@pingcap.com> * Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: Xuecheng Zhang <csuzhangxc@gmail.com> * Apply suggestions from code review * Update en/restore-data-using-tidb-lightning.md Co-authored-by: Ran <huangran@pingcap.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: Xuecheng Zhang <csuzhangxc@gmail.com>
What problem does this PR solve?
#921
For now, root password reset is not optional during sql intialization.
What is changed and how does it work?
Editing the job template and python script for sql initialization.
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?:
NONE