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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: