[SERVER-47821] all_modes.js shouldn't assume $merge is ordered Created: 28/Apr/20  Updated: 29/Oct/23  Resolved: 04/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2020-05-04, Query 2020-05-18
Participants:
Linked BF Score: 6

 Description   

This test is failing because $merge doesn't promise to apply its writes in any particular order. In particular, in a sharded cluster we can generate an "exchange" plan that allows each shard to gather documents and perform writes independently.



 Comments   
Comment by Githook User [ 04/May/20 ]

Author:

{'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}

Message: SERVER-47821 Avoid testing exchange plan in all_modes.js
Branch: master
https://github.com/mongodb/mongo/commit/4c70d73e3b0bfff555cb4eabf3f1f5ca3a8697f5

Generated at Thu Feb 08 05:15:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.