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

Shell should be able to connect to replica primary automatically

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: