BulkWriteFailure.inserted_ids is never populated

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When an insert_many fails we return a BulkWriteFailure which has an inserted_ids property. However this field is never populated for both ordered and unordered bulk writes, which makes it impossible for users to tell which documents got inserted and confuses them about whether any writes occurred.

      See https://github.com/mongodb/mongo-rust-driver/issues/748

            Assignee:
            Unassigned
            Reporter:
            Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: