-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Add advertise-address
to config
#7078
Add advertise-address
to config
#7078
Conversation
89eab91
to
726ebe2
Compare
Please add proper labels. |
This PR definitely affect documentation. |
This is still "No":
|
config/config.toml.example
Outdated
@@ -3,6 +3,9 @@ | |||
# TiDB server host. | |||
host = "0.0.0.0" | |||
|
|||
# tidb server advertise IP. | |||
advertise-ip = "" |
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.
IP or address?
I think this PR needs to be added to the release notes. |
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
@@ -3,6 +3,9 @@ | |||
# TiDB server host. | |||
host = "0.0.0.0" | |||
|
|||
# tidb server advertise IP. |
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.
Will the address contain port? Or only IP?
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.
Only IP.
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.
Can we obtain the IP from system information?
LGTM |
/run-all-tests |
What have you changed? (mandatory)
advertise-address
configuration to config.advertise-address
is the current TiDB server IP. We need put some information such as IP to PD.This is for issue#6961host
of the config directly? Because thehost
Maybe "0.0.0.0"What is the type of the changes? (mandatory)
How has this PR been tested? (mandatory)
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
Yes.
Does this PR affect tidb-ansible update? (mandatory)
Yes.
Does this PR need to be added to the release notes? (mandatory)
Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)