[SERVER-18992] DBClientRS should check aggregation pipelines for $out before sending the command to secondaries Created: 16/Jun/15  Updated: 06/Dec/22  Resolved: 09/Dec/19

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

Type: Bug Priority: Major - P3
Reporter: Adam Midvidy Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Done Votes: 0
Labels: grab-bag
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-37250 Ban use of $out with read preferences... Closed
related to SERVER-41455 Support running $out or $merge from a... Closed
Assigned Teams:
Sharding
Operating System: ALL
Participants:

 Description   

Currently we check that mapreduce commands have

{out: inline}

specified, but we do not have a similar check for aggregation.

https://github.com/mongodb/mongo/blob/master/src/mongo/client/dbclient_rs.cpp#L247

Caught by Spencer Brody.



 Comments   
Comment by Sheeri Cabral (Inactive) [ 09/Dec/19 ]

aggregation doesn't use DBClientRS anymore.

Generated at Thu Feb 08 03:49:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.