cockroachdb / cockroachdb/docs

clarify behavior of *-addr flags in cockroach start

Offen
#8,437 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @taroface Auf GitHub ansehen
C-doc-improvement no-issue-activity T-incorrect-or-unclear-info
Vorherrschende Sprache
HTML
Sterne
212
Forks
476
Ø Merge
40 Min.
Gemergte PRs (30 T.)
3

Beschreibung

Ryan Kuo (taroface) commented:

Our `cockroach start` docs can include more details on how the various `*-addr` flags behave according the port and hostname/IP they're given, e.g.:

> What is the behavior of an --XXX-addr flag that has only a port, and no hostname/IP (ex: --sql-addr above)? Does it listen/advertise on all IPs on that port?
> What is the behavior … that only has the hostname/IP and no port (ex: --advertise-addr above)? Does it listen/advertise on that hostname/IP on the default port?
> For join if only the hostname/IP is specified, does it try to join at the default port 26257 (ex: --join above)?

(Per @bdarnell, yes to all the above)

Thread: https://cockroachlabs.slack.com/archives/C65RYUY3Z/p1600706082015600

cc @Amruta-Ranade

Jira Issue: DOC-778

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.