forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
27800: cli: sanitize the host/port command-line flags r=knz a=knz Fixes cockroachdb#27702. This patch achieves the following: - deprecates --host/--port in favor of --listen-addr/--listen-port for `cockroach start` - produces a warning if neither --host/--listen nor --advertise are specified. - deprecates --advertise-host in favor of --advertise-addr - deprecates --http-host in favor of --http-addr - suggests that "addresses" are also acceptable next to host names in the flag descriptions. - suggests that the argument to --advertise must be routable everywhere. - un-hides --advertise-port. This flag is actually useful when there is a NAT router with X:Y port forwarding. Release note (cli change): the flags `--host` and `--port` to `cockroach start` are deprecated in favor of `--listen-addr` and `--listen-port`. They remain valid for other *client* commands. The flags `--advertise-host` and `--http-host` are deprecated in favor of `--advertise-addr` and `--http-addr` and do not change meaning. cc @jseldess 28062: sql: do not use `rowsort` for queries that use ORDER BY r=knz a=knz If a query uses ORDER BY, the test's expected output should be stable, and the test should exercise that it is indeed stable and the one expected given the ORDER BY constraint. By improperly adding `rowsort` to a test that otherwises uses ORDER BY, the value of the test is reduced as the quality of ORDER BY is not tested any more. This patch corrects this by removing `rowsort` from tests that also use ORDER BY. (There are a few tests that control the behavior of `rowsort` itself, and these are left unchanged here.) Release note: None Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
20 changed files
with
271 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.