Distinguish prompts for Single + Primary vs ReplicaSetWithPrimary

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • None
    • Developer Tools

      Currently, we print `[secondary]` and `[primary]` as part of the prompts in two separate cases; one, we use it to indicate which host we are connected to in Single (e.g. directConnection=true) topology, and two, we use it to indicated whether a RS has a primary or not when connected to an entire replica set.

      We should distinguish these two situations to clarify that they are, in fact, quite different.

              Assignee:
              Unassigned
              Reporter:
              Anna Henningsen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: