Skip to content
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

Merged
merged 4 commits into from
Jul 18, 2018

Conversation

crazycs520
Copy link
Contributor

@crazycs520 crazycs520 commented Jul 17, 2018

What have you changed? (mandatory)

  • This PR add 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#6961
  • Why do not use host of the config directly? Because the host 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)

@crazycs520 crazycs520 force-pushed the add_advertise-address_to_config branch from 89eab91 to 726ebe2 Compare July 17, 2018 15:37
@crazycs520
Copy link
Contributor Author

@winkyao @zimulala @coocood PTAL

@shenli
Copy link
Member

shenli commented Jul 17, 2018

Please add proper labels.

@shenli
Copy link
Member

shenli commented Jul 17, 2018

This PR definitely affect documentation.

@shenli
Copy link
Member

shenli commented Jul 17, 2018

This is still "No":

Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No

@@ -3,6 +3,9 @@
# TiDB server host.
host = "0.0.0.0"

# tidb server advertise IP.
advertise-ip = ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IP or address?

@zz-jason
Copy link
Member

I think this PR needs to be added to the release notes.

Copy link
Contributor

@winkyao winkyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@winkyao
Copy link
Contributor

winkyao commented Jul 18, 2018

@zz-jason This PR is prework of #6961, we can add the release-note label to next PR.

@@ -3,6 +3,9 @@
# TiDB server host.
host = "0.0.0.0"

# tidb server advertise IP.
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only IP.

Copy link
Member

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?

@shenli
Copy link
Member

shenli commented Jul 18, 2018

LGTM
Please send PRs to tidb-ansible, docs-cn and docs.

@shenli
Copy link
Member

shenli commented Jul 18, 2018

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants