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

mongorestore gives cryptic error message on connecting to non-primary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • mongorestore
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: