Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
-
Query 2018-10-22
Description
$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 } } |
>
|
Attachments
Issue Links
- 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
-