Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-390

mongorestore gives cryptic error message on connecting to non-primary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongorestore
    • Labels:
    • Sprint:
      2014 Last MCI Iteration

      Description

      Running mongorestore connecting to a non-primary of a replica set gives a cryptic error instead of something akin to "if running against a replica set, mongorestore must connect to the primary":

      options error: error determining if connected to replica set: no reachable servers
      

        Attachments

          Activity

            People

            • Assignee:
              backlog-server-platform Backlog - Platform Team
              Reporter:
              sam.helman@10gen.com sam.helman@10gen.com
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: