Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
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.