Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15256

[SERVER] Investigate changes in SERVER-63479: Correct $$SEARCH_META ban in sharded environments

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • 5.0.8, 5.3.1, 4.4.15
    • manual, Server
    • None
    • ServerDocs2022: Apr26 - May3, ServerDocs2022: Jun1 - Jun14, ServerDocs2022: Jun14 - Jun28, ServerDocs2022: May3-May10
    • Hide
      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
      Show
      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
    • false

    Description

      Original Downstream Change Summary

      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

          Activity

            People

              Unassigned Unassigned
              backlog-server-pm Backlog - Core Eng Program Management Team
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                11 weeks, 1 day ago