-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Add a single struct containing viewName, resolvedNss, and a desugared viewPipe to unify all view metadata used during view application. This also involves:
- Replacing expCtx view metadata with ViewInfo
- Updating ResolvedView to populate ViewInfo
The ViewPolicy should look like:
// This may be upgraded to LiteParsedPipeline. using LiteParsedVec = std::vector<std::unique_ptr<LiteParsedDocumentSource>>; struct ViewInfo { NamespaceString viewName; // unresolved view nss NamespaceString resolvedNss; // underlying collection LiteParsedVec viewPipe; };
- depends on
-
SERVER-115055 Move query stats registration before view resolution
-
- Closed
-
- is depended on by
-
SERVER-115057 Add getViewPolicy() to LiteParsedDocumentSource
-
- Needs Scheduling
-