[SERVER-84185] DuplicateKey error reported for $merge aggregation on a sharded collection Created: 14/Dec/23 Updated: 09/Jan/24 |
|
| Status: | Needs Scheduling |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jordi Olivares Provencio | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | query-director-triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Assigned Teams: |
Query Execution
|
| Operating System: | ALL |
| Steps To Reproduce: | Execute resmoke with the attached test on the concurrency_sharded_replication suite. |
| Participants: |
| Description |
|
The attached FSM test causes the aggregation to return a DuplicatKey error only if the output collection is sharded. If the collection is unsharded the test doesn't fail. |