[SERVER-38363] Test that an agg with "replaceCollection" $out fails if target namespace becomes sharded Created: 03/Dec/18  Updated: 29/Oct/23  Resolved: 10/Jan/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2018-12-31, Query 2019-01-14
Participants:

 Description   

We have such a test for the two new modes: "insertDocuments" and "replaceDocuments", but do not have a test that I could find for the "replaceCollection" mode. We think this should fail when the temporary collection is renamed into place, and so this work should just be writing a test to verify this.



 Comments   
Comment by Githook User [ 10/Jan/19 ]

Author:

{'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}

Message: SERVER-38363 Test concurrent shardCollection and replaceCollection $out
Branch: master
https://github.com/mongodb/mongo/commit/e276f7d9b5262f99ec374018c3d29c53b8f757e4

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