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

$searchMeta fails on unsharded collection in sharded cluster when there are no search results

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 5.0.3, 4.4.9
    • 4.4.10, 5.0.4
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • QO 2021-10-18

    Description

      It looks to be a problem specifically within the $unionWith that $searchMeta expands to. I can now reproduce and have what I think is a fix. I believe SERVER-59097 will fix this on master and I believe the plan is to backport that to the 5.0 branch.

      Attachments

        Activity

          People

            charlie.swanson@mongodb.com Charlie Swanson
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: