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

cli,server: fix --sql-advertise-addr when --sql-addr is not specified #87412

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

knz
Copy link
Contributor

@knz knz commented Sep 6, 2022

Fixes #87040.
Informs #52266.

cc @a-robinson

Release justification: bug fix

Release note (bug fix): The flag --sql-advertise-addr now properly
works even when the SQL and RPC ports are shared (because --sql-addr
was not specified). Note that this port sharing is a deprecated
feature in v22.2.

@knz knz requested a review from a team as a code owner September 6, 2022 13:50
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz knz changed the title sql/tests: unskip TestMonotonicInserts cli,server: fix --sql-advertise-addr when --sql-addr is not specified Sep 6, 2022
@knz
Copy link
Contributor Author

knz commented Sep 6, 2022

sorry about the garbage PR title, correct.

Copy link
Contributor

@a-robinson a-robinson left a comment

Choose a reason for hiding this comment

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

Thanks @knz !

…fied

Release justification: bug fix

Release note (bug fix): The flag `--sql-advertise-addr` now properly
works even when the SQL and RPC ports are shared (because `--sql-addr`
was not specified). Note that this port sharing is a deprecated
feature in v22.2.
Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

LGTM

@knz
Copy link
Contributor Author

knz commented Sep 8, 2022

TFYRs!

bors r=a-robinson,ajwerner

@craig
Copy link
Contributor

craig bot commented Sep 8, 2022

Build succeeded:

@craig craig bot merged commit 3ff179c into cockroachdb:master Sep 8, 2022
@knz knz deleted the 20220906-cli branch September 8, 2022 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--sql-advertise-addr has no effect if you don't also set --sql-addr alongside it
4 participants