[SERVER-32190] Make a MongoProcessInterface available to all stages, not just those that subclass DocumentSourceNeedsMongoProcessInterface Created: 06/Dec/17  Updated: 30/Oct/23  Resolved: 19/Dec/17

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

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

Issue Links:
Depends
is depended on by SERVER-32088 ChangeStream resumeAfter does not wor... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-12-18, Query 2018-01-01
Participants:

 Description   

This would be a pure refactor without any functional changes, but will make it easier to do both SERVER-32088 and SERVER-29159. An initial attempt at resolving SERVER-32088 involved determining whether a collection was sharded at parse time, so we needed to use the MongoProcessInterface before execution time. This work should make that possible. Similarly, a proof-of-concept for SERVER-29159 needed to check if a namespace was sharded during the DocumentSourceLookUp::constraints() method, which similarly depends on this work.



 Comments   
Comment by Githook User [ 21/Dec/17 ]

Author:

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

Message: SERVER-32190 Shorten MongoDProcessInterface to MongoDInterface.

Similarly shorten other similar MongoProcessInterface implementation's
names, e.g. MongoSProcessInterface -> MongoSInterface and
MockMongoProcessInterface -> MockMongoInterface.
Branch: master
https://github.com/mongodb/mongo/commit/a318fd1bc13e59a87def8de0061a08ec0dd134eb

Comment by Githook User [ 21/Dec/17 ]

Author:

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

Message: SERVER-32190 Make MongoProcessInterface always available
Branch: master
https://github.com/mongodb/mongo/commit/b5a2cc0fec6ac30b1a0196da5feb41d85a8b76c3

Comment by Charlie Swanson [ 20/Dec/17 ]

There was an issue with the githook adding comments here, but this was committed. I'll backfill the comments manually below.

Comment by Charlie Swanson [ 06/Dec/17 ]

david.storch I pulled this into the current sprint as discussed - I also added a fixVersion of "3.7 Desired". Feel free to adjust if you'd like. I'll start working on this now.

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