-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
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.