[SERVER-27496] allow self-$lookup on shard key value equality pre-merge on a sharded collection Created: 22/Dec/16  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-29159 Allow "from" collection of $lookup to... Closed
Related
is related to SERVER-28705 Add optimization to execute $lookup o... Closed
Assigned Teams:
Query Optimization
Participants:

 Description   

In cases where there is no merge stage (or we are before it), it may be possible to allow self-lookup on sharded collection if the local and foreign field is the same and it's the shard key.


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