Details
-
Bug
-
Resolution: Fixed
-
Critical - P2
-
None
-
None
-
Fully Compatible
-
ALL
-
Query 2020-02-24
-
23
Description
It looks like we have started allowing usage of {$meta: 'randVal'} in sort which was disallowed in 4.2. But this was not correctly handled on mongos, resulting in hitting this fassert.
The following query will crash mongos on master
db.c.find().sort({val: { $meta: 'randVal' } }) |