Process cleanupStructuredEncryptionData in encryption context

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Erwin Pe
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: