[SERVER-38995] Allow geoNear within a lookup pipeline in the sharded case Created: 14/Jan/19  Updated: 27/Oct/23  Resolved: 21/Jun/19

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

Type: Bug Priority: Major - P3
Reporter: Brigitte Lamarche (Inactive) Assignee: Backlog - Query Team (Inactive)
Resolution: Gone away Votes: 0
Labels: open_todo_in_code, query-44-grooming, todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-38716 fix $geoNear and $text within $lookup... Closed
depends on SERVER-38728 Allow pipeline with $lookup into a sh... Closed
Related
related to SERVER-43496 Complete TODO listed in SERVER-38995 Closed
related to SERVER-44217 Complete TODO listed in SERVER-38995 Closed
Assigned Teams:
Query
Operating System: ALL
Participants:

 Description   

Currently, attempting to run a $lookup sub-pipeline with a geoNear within it will cause DocumentSourceGeoNear's getNext to be called, triggering an error. 

Part of this ticket will involve reactivating jstests/aggregation/sources/geonear/requires_geo_index.js and jstests/aggregation/sources/lookup/lookup_subpipeline_geonear.js for passthroughs with sharded collections. 

It will also involve changing  the internal error code assertion #50144 to a MONGO_UNNREACHABLE.  



 Comments   
Comment by Githook User [ 19/Nov/19 ]

Author:

{'username': 'jameswahlin', 'email': 'james.wahlin@mongodb.com', 'name': 'James Wahlin'}

Message: SERVER-44217 Update stale TODO SERVER-38995 ticket reference
Branch: master
https://github.com/mongodb/mongo/commit/26fb6b0fc1edb6f6c42310232cbea0a7605162e7

Comment by David Storch [ 21/Jun/19 ]

This ticket pertains specifically to a task that must be done in order to support $lookup into a sharded collection. It is not actionable until we renew the sharded $lookup effort. Closing as Gone Away.

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