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.
$searchMeta fails on unsharded collection in sharded cluster when there are no search results
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved:
- None
- None
- None
- None