Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1921

A MongoClient configured for auto encryption cannot be re-used after close()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.9
    • Affects Version/s: None
    • Component/s: None
    • None

      A MongoClient instance can be re-used after being closed. However this does not work when the MongoClient is configured for auto encryption.

      We should either:

      • document this limitation
      • or recreate the auto encryption machinery when a closed client is reopened. Note that this would need to be thread safe.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: