Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8367

Mongorestore doesn't report errors, even when running with a write concern

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.4.0-rc1
    • 2.2.2, 2.3.2
    • Tools
    • None

    Description

      Providing the --w option to mongorestore makes it call getLastError, but even if getLastError returns an error, we silently ignore that error and continue. We should at least log something, if not abort.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: