cli: More clearly differentiate between node listening and node advertising #27702
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
S-3-ux-surprise
Issue leaves users wondering whether CRDB is behaving properly. Likely to hurt reputation/adoption.
Currently, there's a confusing permutation of effects that can result from using
--host
and--advertise-host
:--host
not specified--host
specified--advertise-host
not specified--host
. Advertise the value of--host
to other nodes.--advertise-host
specified--advertise-host
to other nodes.--host
. Advertise the value of--advertise-host
to other nodesSometimes,
--host
is just for listening and--advertise-host
is for advertising; other times,--host
is for both listening and advertising.From a UX perspective, it'd be ideal to clearly differentiate between listening and advertising. As @bdarnell has explained, changing
--host
is very backwards-incompatible, but perhaps there are other options (e.g., adding and emphasizing another flag like--listen-host
while continuing to support--host
).cc: @knz, @bdarnell, @mberhault
The text was updated successfully, but these errors were encountered: