No writeErrors field with successful legacy bulk write

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Bulk API, libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The spec says writeErrors should always be present. It should be an empty array if there are no errors, but it's absent after a bulk operation is executed with legacy opcodes and no errors.

      https://github.com/mongodb/specifications/blob/master/source/driver-bulk-update.rst

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: