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

Ability to see what operations failed on bulk insert

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      I'd like to bulk insert 100 items and if 25 fail (e.g. due to a unique index), I'd like to see which items failed. My understanding is that continueOnError combined with getLastError will not allow you to do this, so it is impossible today.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: