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

server: allow wildcard address for advertise-status-addr to keep compatible with tidb-operator (#8016) #8046

Merged
merged 6 commits into from Jun 5, 2020

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Jun 5, 2020

cherry-pick #7944 #8016 to release-4.0


Signed-off-by: linning linningde25@gmail.com

What problem does this PR solve?

Issue Number: close #8013

Problem Summary:
In tidb-operator-1.1, 0.0.0.0 will be used for status-addr and advertise-status-addr will fallback to status-addr because not specified, in such case invalid advertise-status-addr error will return when start tikv, because in #7944 we always check advertise-status-addr is not a wildcard address.

What is changed and how it works?

Proposal: #7920

What's Changed:
Check advertise-status-addr is not a wildcard address only if it is specified.

Release note

  • Add --advertise-status-addr flag to specify the status address to advertise
  • allow wildcard address for advertise-status-addr to keep compatible with tidb-operator

@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 5, 2020

/run-all-tests

Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
@overvenus
Copy link
Member

/run-all-tests

Signed-off-by: linning <linningde25@gmail.com>
@NingLin-P
Copy link
Member

/run-all-tests

Signed-off-by: linning <linningde25@gmail.com>
@NingLin-P
Copy link
Member

/run-all-tests

1 similar comment
@NingLin-P
Copy link
Member

/run-all-tests

@zyxbest
Copy link
Contributor

zyxbest commented Jun 5, 2020

/run-all-tests

@NingLin-P
Copy link
Member

/run-unit-tests

@overvenus
Copy link
Member

/merge

@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 5, 2020

Sorry @overvenus, you don't have permission to trigger auto merge event on this branch.

@overvenus
Copy link
Member

/run-all-tests

@overvenus overvenus merged commit 511c346 into tikv:release-4.0 Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/server Component: Server type/bugfix Type: PR - Fix a bug type/cherry-pick Type: PR - Cherry pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants