Consider preserving partial results in BulkWriteFailures

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In insert_many, we discard any partial results we've accumulated when we return BulkWriteFailures, since it is optional to report them per the crud spec. It may be surprising to users that their operation reported as failing when in fact it was mostly successful (imagine a large batch where there was a single write error).

      We should consider reporting these partial results to users, so that even in the event an error is encountered, they can see how their data was modified.

            Assignee:
            Unassigned
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: