Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14686

Shell should be able to connect to replica primary automatically

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • 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 Unassigned
            Reporter:
            charlie.page@10gen.com Charlie Page
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: