To reduce the overheads of copying BSONObj into MatchExpressions, we aim to remove the _backingBSON from the MatchExpression. The MatchExpression will compare against a reference of an already existing BSONObj which survives the query.
Removing _backingBSON, this generates errors in src/mongo/db/modules/enterprise/jstests/fle2/query/range/one_sided_find.js
src/mongo/db/modules/enterprise/jstests/fle2/query/range/trim_factor.js
src/mongo/db/modules/enterprise/jstests/fle2/query/range/two_sided_agg.js
src/mongo/db/modules/enterprise/jstests/fle2/query/range/two_sided_find.js
src/mongo/db/modules/enterprise/jstests/fle2/range_precision.js
e..g, patch
This ticket shall address those errors.
- is depended on by
-
SERVER-87277 Reduce CanonicalQuery creation overhead by avoiding BSONObj creation
- Closed