Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
QO 2022-03-07, QO 2022-04-04
Description
Right after parsing the MatchExpression in CanonicalQuery,
if (gFeatureFlagFLE2.isEnabledAndIgnoreFCV() &&
|
findCommand->getEncryptionInformation().has_value()) {
|
// If encryptionInformation is present, there may be FLEFindPayloads to rewrite, so call the
|
// FLE rewrite logic.
|
auto info = findCommand->getEncryptionInformation();
|
auto rewriter = fle::FLEFindRewriter(findCommand->getEncryptionInformation().get(),
|
[](BSONElement) { return BSONObj(); });
|
me = rewriter.rewriteMatchExpression(std::move(me));
|
}
|
Attachments
Issue Links
- depends on
-
SERVER-63293 Construct a set of binary tags given find encryption payload(s)
-
- Closed
-
-
SERVER-63294 Server-side rewrite for match expressions with encrypted payloads
-
- Closed
-
- is depended on by
-
SERVER-63884 Support count command in server-side rewrite on mongod
-
- Closed
-