Details
Description
While this ticket does not change the promised behavior, it previously would have been possible to run certain search aggregation stages in sharded environments that would have returned incorrect results. This ticket correctly bans those pipelines, but some users may see their queries fail with the new error.
The feature banned by this ticket is enabled in 6.0
Description of Linked Ticket
If the feature flag is disabled, $$SEARCH_META should not be allowed on sharded collections. Currently this is accomplished here during runtime. We should change this to be checked earlier when detecting that we are in a sharded collection w/o the feature flag.
Attachments
Issue Links
- documents
-
SERVER-63479 Correct $$SEARCH_META ban in sharded environments
-
- Closed
-
- is related to
-
DOCS-15388 [Server] [BACKPORT] [v4.4] Correct $$SEARCH_META ban in sharded environments
-
- Backlog
-