create_collection_with_encryptedFields creates state collections before checking wire version for QEv2

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 1.24.0
    • Affects Version/s: None
    • Component/s: Client Side Encryption
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: