Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
-
QE 2022-07-11
Description
Although it looks like a contradiction at a glance, the query
{$and: [{a: 1}, {a: 2}]}
|
Matches the document
{a: [1, 2]}as each predicate is applied after implicitly traversing the leaf array. This query works on classic but does not return the matching document with Bonsai enabled.
The relevant test is here ($all is sugar for $and).
Attachments
Issue Links
- duplicates
-
SERVER-67771 Allow duplicate multi-key entries in PartialSchemaRequirements map
-
- Closed
-
- related to
-
SERVER-67771 Allow duplicate multi-key entries in PartialSchemaRequirements map
-
- Closed
-