-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.10.0
-
Component/s: None
-
Not Needed
Scope
Only include encryptionInformation in compactStructuredEncryptionData if "range" fields are referenced.
Background & Motivation
Server 8.0 requires encryptionInformation for "range" (i.e. range V2, not "rangePreview").
Server 7.0 prohibits encryptionInformation in compactStructuredEncryptionData. Attempting to send encryptionInformation results in:
BSON field 'compactStructuredEncryptionData.encryptionInformation' is an unknown field.
compactStructuredEncryptionData may be used for equality fields. It has a wrapper in mongosh. I expect it is not OK to break backwards compatibility for equality fields.
To prevent breaking backwards compatibility for stable equality indexed fields, only send encryptionInformation in compactStructuredEncryptionData if "range" fields are referenced.
- is depended on by
-
NODE-6128 Support Range Indexes as GA
- Closed
- is related to
-
MONGOCRYPT-620 Extend _fle2_append_compactionTokens for new range tokens
- Closed