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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.9
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: