[SERVER-41203] Robustify $merge all_modes.js Created: 17/May/19  Updated: 29/Oct/23  Resolved: 30/May/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 4.1.10, 4.1.11
Fix Version/s: 4.1.14

Type: Bug Priority: Major - P3
Reporter: Anton Korshunov Assignee: Anton Korshunov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 16

 Description   

The test may fail in sharded passthrough mode in some cases. For instance, in a test that verifies 'whenMatched: fail, whenNotMatched: insert' mode we expect the test to return a DuplicateKey error, but also insert some documents in the target collection. The test was written with the assumption that documents in the source collection will be always processed in the same order as they were inserted into the collection. In a sharded cluster this assumption is wrong. 



 Comments   
Comment by Githook User [ 30/May/19 ]

Author:

{'name': 'Anton Korshunov', 'email': 'anton.korshunov@mongodb.com', 'username': 'antkorsh'}

Message: SERVER-41203 Robustify $merge all_modes.js
Branch: master
https://github.com/mongodb/mongo/commit/da754e6c0490a3ccacd04339f34fafbd878331b4

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