-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v4.4
-
Query Optimization 2021-05-31
Currently all of the register expression initializers depend on a single initializer, so things that need to go before expressions can depend on that. We should do the same thing for document sources.
When we register a parser using REGISTER_DOCUMENT_SOURCE, REGISTER_EXPRESSION, etc, we need to make sure the initializer declares its dependency on the "default" initializer. The "default" initializer is responsible for initializing serverGlobalParams, which we depend on for FCV and feature flags. We should make the grouped initializer responsible for this dependency.
Usually the MONGO_INITIALIZER macro handles this, but we are using MONGO_INITIALIZER_GENERAL in at least one place (to declare reverse-dependencies).
- is caused by
-
SERVER-51454 operationProfiling.filter config option rejects agg expressions
- Closed
- is duplicated by
-
SERVER-54133 Group DocumentSource Initializers
- Closed
- is related to
-
SERVER-54133 Group DocumentSource Initializers
- Closed