Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4653

create_collection_with_encryptedFields creates state collections before checking wire version for QEv2

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.24.0
    • None
    • Client Side Encryption
    • None

    Description

      Summary

      In cf45741 for CDRIVER-4563, the state collections for QEv2 are created before the wire version check for MongoDB 7.0+.

      This is inconsistent with the order of operations defined in aa28f78 for DRIVERS-2524 and makes it possible for libmongoc to leave behind orphaned collections on a pre-7.0 server before returning an error.

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: