Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-88822

$searchMeta queries failing due to "Invalid ShardedSearchPlanDefinition"

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.0.7
    • Component/s: None
    • Labels:
      None
    • Query Integration
    • ALL

      This originally came from a search HELP ticket linked below. The customer downsized from 2 shards to 1 shard and began seeing "Invalid ShardedSearchPlanDefinition" whenever $searchMeta queries are attempted with an inner exception 'BsonParseException: unrecognized fieldsĀ ["mongotQuery", "metadataMergeProtocolVersion", "limit", "sortSpec"]'. This looks a lot like https://jira.mongodb.org/browse/CLOUDP-225635 / https://jira.mongodb.org/browse/SERVER-85694 which only seemed to affect 7.2+.

      Slack thread: https://mongodb.slack.com/archives/C039SULHYGH/p1711663412839869
      Original search HELP ticket: https://jira.mongodb.org/browse/HELP-57729

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            trevor.mcculloch@mongodb.com Trevor McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: