-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Query Planning
-
None
-
ALL
for instance:
> db.point_data.explain().aggregate([{$match: {"time":{$lt:ISODate("2016-01-01T00:00:00Z")}}}])
"winningPlan" : { "stage" : "COLLSCAN", "filter" : { "$and" : [ { "_id" : { "$lt" : ObjectId("5685c1800000000000000000") } }, { "_id" : { "$lt" : ObjectId("5685c1800000000000000000") } }, { "control.min.time" : { "$_internalExprLt" : ISODate("2016-01-01T00:00:00Z") } }, { "control.min.time" : { "$_internalExprLt" : ISODate("2016-01-01T00:00:00Z") } } ] }, "direction" : "forward"},
The pushed filter is still valid, maybe not that performant and it is probably unintended behaviour
- depends on
-
SERVER-54766 Ensure that multiple $unpackBucket rewrites correctly work together
- Closed
- is duplicated by
-
SERVER-54894 Ensure $_internalUnpackBucket's doOptimizeAt() is idempotent
- Closed
- is related to
-
SERVER-54894 Ensure $_internalUnpackBucket's doOptimizeAt() is idempotent
- Closed