-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Fully Compatible
-
ALL
-
Query 2020-02-24
-
23
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' } })