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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0-rc1
    • Affects Version/s: 2.2.2, 2.3.2
    • Component/s: Tools
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: