[SERVER-35895] Add ability for $out to write to remote hosts Created: 28/Jun/18  Updated: 29/Oct/23  Resolved: 08/Aug/18

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

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-18027 Support aggregation $out to sharded c... Closed
is depended on by SERVER-36123 Reject $out with mode: "replaceCollec... Closed
is depended on by SERVER-36505 Add testing for $out against a stale ... Closed
is depended on by SERVER-36513 Add testing in $out for staleShardVer... Closed
is depended on by SERVER-13201 Allow new Aggregation $merge stage to... Closed
Related
is related to SERVER-35896 Support "replaceDocuments" mode in $out Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2018-07-16, Query 2018-07-30, Query 2018-08-13
Participants:

 Description   

This write must be sharding-aware.



 Comments   
Comment by Githook User [ 08/Aug/18 ]

Author:

{'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}

Message: SERVER-35895: Add ability for $out to write to remote hosts
Branch: master
https://github.com/mongodb/mongo/commit/2e69710b5bf058dae6d04ada3cb003cbf872c3a8

Comment by Kyle Suarez [ 10/Jul/18 ]

Re-assigning to nicholas.zolnierz. Nick, like discussed, the goal is to use the ClusterWriter to accomplish the distributed writes. Ideally, we'd like to replace the use of the DBDirectClient in the MongoProcessInterface with the ClusterWriter under the hood. The tricky part will be figuring out how to report errors, as this would be switching from a synchronous to asynchronous interface.

Comment by Kyle Suarez [ 28/Jun/18 ]

For now, let's design how we want to do this. charlie.swanson thinks that it's really easy to write a simple version that doesn't have batching.

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