-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description: Adds a new overload of pipeline_factory::makePipelineFromViewDefinition that accepts an already-parsed LiteParsedPipeline in place of the BSON pipeline vector. The existing BSON-taking overload is unchanged.
Rationale: When a shard resolves a view locally, it has already constructed a LiteParsedPipeline for the user's pipeline. Forcing the view-resolution path to pass BSON and re-parse through LiteParsedPipeline::fromBSON duplicates work. Exposing an overload that takes the already-parsed LPP lets the caller reuse it, and cleanly separates the API shape change from SERVER-42282's feature logic.
- is related to
-
SERVER-42282 Consider replacing CommandOnShardedViewNotSupportedOnMongod mechanism with rewrite / routing from shard
-
- Closed
-