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

mongorestore gives cryptic error message on connecting to non-primary

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

      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
      

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

              Created:
              Updated:
              Resolved: