Implement v2 changes to Queryable Encryption Compact

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Security 2023-03-20, Security 2023-04-03
    • 67
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In v2 of the QE protocol, the compactStructuredEncryptionData command changed behavior and so the following changes must be made:

      • the code to compact the ECC can be removed
      • compaction of the ESC entries for each unique field+value+contention combination now occurs in its own transaction.
      • a subset, P,  of non-anchor ESC document _ids must be read into memory, before starting any ESC compaction transaction.
      • once all ESC compactions are finished, for each _id in P, delete the document with that _id in ESC.

            Assignee:
            Erwin Pe
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: