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

More informative error message when server crashes while mongodump is running

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

              • Assignee:
                backlog-server-platform Backlog - Platform Team
                Reporter:
                valeri.karpov Valeri Karpov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: