-
Notifications
You must be signed in to change notification settings - Fork 499
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
Fix the config error in restore #2250
Conversation
fmt.Sprintf("--tidb-password=%s", ro.Password), | ||
fmt.Sprintf("--tidb-host=%s", ro.Host), | ||
fmt.Sprintf("--d=%s", restorePath), | ||
"-status-addr=0.0.0.0:8289", |
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.
The options in the tidb-lightning chart are also with --
prefix, could you please double confirm the format?
https://github.com/pingcap/tidb-operator/blob/master/charts/tidb-lightning/templates/scripts/_start_lightning.sh.tpl#L28
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
@@ -61,7 +61,8 @@ func (ro *Options) loadTidbClusterData(restorePath string) error { | |||
"--status-addr=0.0.0.0:8289", | |||
"--backend=tidb", | |||
"--server-mode=false", | |||
"–-log-file=", | |||
"--log-file=", | |||
"--tidb-port=4000", |
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.
Please use ro.Port
.
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.
updated.
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
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-e2e-in-kind |
cherry pick to release-1.1 in PR #2282 |
What problem does this PR solve?
Fix the config error in restore
Related changes
Does this PR introduce a user-facing change?: