[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: File agg_merge_does_not_cause_duplicate_id_errors.js    
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.


Generated at Thu Feb 08 06:54:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.