Summary
Process the command:
{"cleanupStructuredEncryptionData": "coll"}
Into:
{"cleanupStructuredEncryptionData": "coll", "compactionTokens": {...} }
That will permit users to use RunCommand to run the cleanupStructuredEncryptionData for the QEv2 protocol.
Background & Motivation
See Technical Design: Queryable Encryption Change the On-Disk Format and Wire Protocol for a description of this command.
See MONGOCRYPT-424 for the changes made for compactStructuredEncryptedData. I expect the changes for compactStructuredEncryptedData will be very similar to changes required for cleanupStructuredEncryptedData.
- depends on
-
SERVER-74798 Enable feature flag for cleanupStructuredEncryptionData
- Closed
- tested by
-
DRIVERS-2629 Test cleanupStructuredEncryptionData
- Blocked