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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: