[CDRIVER-370] fix upsert indexes in bulk operation Created: 22/May/14  Updated: 03/May/17  Resolved: 22/May/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Christian Hergert Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

during bulk operations, "index" fields were conflated between various commands and indexes of items within commands.

index within the upserted array should relate to the command that was upserted, not the total index offset of affected documents.



 Comments   
Comment by Christian Hergert [ 22/May/14 ]

Fixed in master.

https://github.com/mongodb/mongo-c-driver/commit/198cd89a567d131196451605cfb16af7b5447f66

Generated at Wed Feb 07 21:09:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.