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

More informative error message when server crashes while mongodump is running

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Right now message is:

      error reading from db: EOF

      The `error reading from db:` comes from mongodump, and the EOF is stringified because mgo returns `io.EOF` when server crashes instead of an error. Maybe we should check if mgo error equals `io.EOF` and, if so, say that we couldn't reach the server?

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            valeri.karpov@mongodb.com Valeri Karpov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: