[SERVER-40323] Plan analyzer helper functions cannot correctly handle explain output for sharded collections Created: 25/Mar/19  Updated: 06/Dec/22  Resolved: 28/Mar/19

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

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Backlog - Query Team (Inactive)
Resolution: Won't Fix Votes: 0
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-43495 Complete TODO listed in SERVER-40323 Closed
related to SERVER-24860 Optimize away entire pipeline if it c... Closed
Assigned Teams:
Query
Participants:

 Description   

For example, getAggPlanStage cannot handle an explain output in sharded collection passthroughs due to an assumption that there can only be one stage in the explain, failing with:

Error: [1] != [2] are not equal : getAggPlanStage expects to find 0 or 1 matching stages. planStageList



 Comments   
Comment by Craig Homa [ 28/Mar/19 ]

Closing as after further discussion the team feels that this isn't something they would do in the near future.

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