[DRIVERS-1238] Investigate changes in PM-282: Sharded $lookup Created: 05/May/20  Updated: 27/May/22  Resolved: 07/May/20

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Epic Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Server Compat: 5.1
Upstream Changes Summary:

This project will allow $lookup or $graphLookup to execute when the 'from' namespace is sharded.


 Description   
Downstream Change Summary

TBD once we are further with scoping.

Description of Linked Ticket

Epic Summary

Summary

This project will allow $lookup or $graphLookup to execute when the 'from' namespace is sharded and add the ability to retrieve results from a different database.

Motivation

The $lookup stage is one of relatively few things that work on an unsharded collection but not on a sharded one. The fact that the 'from' collection cannot be sharded surprises many users and prevents its use in many sharded deployments. We think that supporting this stage is worth doing to remove the element of surprise, even if the performance is suboptimal. Removing the restriction will also aid in capturing more customer use cases.

Documentation

Scope document
Design document



 Comments   
Comment by Esha Bhargava [ 07/May/20 ]

No Drivers changes needed.

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