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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.10, 5.0.4
    • Affects Version/s: 5.0.3, 4.4.9
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • QO 2021-10-18

      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.

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

              Created:
              Updated:
              Resolved: