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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.24.0
    • Affects Version/s: None
    • Component/s: Client Side Encryption
    • None

      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.

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

              Created:
              Updated:
              Resolved: