-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
ALL
-
-
Query 2018-10-22
$group with $$ROOT starting failing recently when running the C# driver tests.
Not sure when exactly it started failing, but it can be reproduced using 4.1.3-231-ga106c80c19.
Here's a repro showing it working in 4.0.2:
> db.version() 4.0.2 > db.test.find() { "_id" : 1, "x" : 1 } { "_id" : 2, "x" : 2 } > db.test.aggregate([ { $group : { _id : "$$ROOT" } } ]) { "_id" : { "_id" : 2, "x" : 2 } } { "_id" : { "_id" : 1, "x" : 1 } } >
- is depended on by
-
CSHARP-2407 Reenable tests temporarily disabled until SERVER-37459 is fixed
- Closed
- is related to
-
SERVER-9507 Optimize $sort+$group+$first pipeline to avoid full index scan
- Closed