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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.4.0-rc1
    • Affects Version/s: 2.2.2, 2.3.2
    • Component/s: Tools
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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 Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: