Shell should be able to connect to replica primary automatically

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently a script or something like:
      mongo --host `mongo 127.0.0.1:27019 --quiet --eval "db.isMaster()['primary']"`
      is needed.

      An option, such as --primary, would be preferable.

              Assignee:
              Unassigned
              Reporter:
              Charlie Page (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: