mongorestore gives cryptic error message on connecting to non-primary

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongorestore
    • 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:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            sam.helman@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: