-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
Current ABTs fail to match {a: []} when doing db.find({a: {$lte: MaxKey()}). The desired behavior of db.find({a: {$lte: MaxKey()}) should return any and all document, with the field 'a'.
The suspect issue arises when we choose to traverse the array and make a compare between each element and MaxKey() .
Instead, the array itself should be compared to MaxKey(), as an empty array satisfies the $lte: MaxKey() requirement. Similar behavior should also be implemented when comparing to MinKey().
- backported by
-
SERVER-67782 Fix handling of bounds with MaxKey and MinKey
-
- Closed
-
- depends on
-
SERVER-68310 [CQF] {a: {$gte: MinKey()}} hits assertion in Cascades
-
- Closed
-
- related to
-
SERVER-68100 Complete TODO listed in SERVER-67624
-
- Closed
-