-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The only metadata fields that the extension is allowed to write to are the ones that the extension reports as provided. In order to verify that this bargain is upheld, we need to track state of what the extension reports as provided metadata fields.
This ticket should use DocumentSourceExtensionOptimizable to retrieve the logicalStageHandle, call getProvidedMetadataFields() on it, and pass the result through to the ExtensionStage constructor. There, ExtensionStage should save the providedMetadataFields to the object for later use.
This ticket should not implement the verification of metadataWrites in ExtensionStage::doGetNext().
- depends on
-
SERVER-110261 Update MongoExtensionLogicalAggStage to support reporting metadata
-
- Closed
-
- is depended on by
-
SERVER-113906 Implement metadata parsing logic in ExtensionStage::doGetNext()
-
- Closed
-