summaryrefslogtreecommitdiff
path: root/src/mongo/crypto
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2022-04-09 11:08:41 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-09 18:18:22 +0000
commit180baae184f16c26070b4a84d98d86ef164bdfc5 (patch)
tree3a8914cb3e048225e2f04ca072234adc7a21c9e7 /src/mongo/crypto
parentdc271946221f20e8629d74104d3252862741949e (diff)
downloadmongo-180baae184f16c26070b4a84d98d86ef164bdfc5.tar.gz
SERVER-59261 Enable Feature flag for PM-2466
Diffstat (limited to 'src/mongo/crypto')
-rw-r--r--src/mongo/crypto/encryption_fields.idl3
-rw-r--r--src/mongo/crypto/fle_crypto.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/crypto/encryption_fields.idl b/src/mongo/crypto/encryption_fields.idl
index 0f298d7de76..1a1090ab59d 100644
--- a/src/mongo/crypto/encryption_fields.idl
+++ b/src/mongo/crypto/encryption_fields.idl
@@ -42,7 +42,8 @@ feature_flags:
featureFlagFLE2:
description: "Enable FLE2 support"
cpp_varname: gFeatureFlagFLE2
- default: false
+ default: true
+ version: 6.0
structs:
diff --git a/src/mongo/crypto/fle_crypto.cpp b/src/mongo/crypto/fle_crypto.cpp
index 8523fc9b2cb..b9e50672e4e 100644
--- a/src/mongo/crypto/fle_crypto.cpp
+++ b/src/mongo/crypto/fle_crypto.cpp
@@ -969,6 +969,7 @@ void parseAndVerifyInsertUpdatePayload(std::vector<EDCServerPayloadInfo>* pField
void collectEDCServerInfo(std::vector<EDCServerPayloadInfo>* pFields,
ConstDataRange cdr,
+
StringData fieldPath) {
// TODO - validate field is actually indexed in the schema?