Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87715

FLE2-encrypted insert should only parse & validate the encryption schema once

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security
    • Fully Compatible
    • Security 2024-03-18

      Currently, the EncryptionInformationHelpers::getAndValidateSchema() function gets called in insertSingleDocument() for every insert document in an encrypted batch insert, which is unnecessary because the work performed & the output returned is the same on every call. Calls to this should be moved out of insertSingleDocument.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: