[SERVER-75200] multi-batch update with {upsert: true} at index: 1 reports incorrect index in response Created: 23/Mar/23 Updated: 24/Mar/23 Resolved: 24/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sanika Phanse (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding NYC |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding NYC
|
| Participants: |
| Description |
index is correctly set to 1 here, but rewritten here. Looks like targetedBatch.size == 1, and thus it is reading an out of bounds value at targetedBatch[1] (I confirmed childBatchIndex == 1). Moreover, I saw that targetBatch[0] = 1. |