Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1488

BulkWriteFailure.inserted_ids is never populated

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 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 Unassigned
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None