$searchBeta mis-parses mongos-desugared shard spec as a user query

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • ALL
    • v9.0
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With featureFlagSearchExtension on a sharded cluster, $searchBeta (a server-only alias the extension doesn't register) is desugared by mongos into the legacy internal

      {mongotQuery, mergingPipeline, …}

      shape and sent to shards, where the extension's $search mis-parses that wrapper as a user query and forwards it to mongot, which rejects it with Location65330 — while plain $search is unaffected because it's extension-owned on both mongos and shards.

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: