Details
-
Improvement
-
Resolution: Won't Fix
-
Trivial - P5
-
None
-
None
-
None
-
None
Description
Per SERVER-40354, $db is always stripped from a command result mongocryptd. But libmongocrypt will return the original command (unmodified) if it determines no encryption is necessary because no schema was configured. For consistency, we should always strip $db. Then wrapping drivers can always append $db after auto encryption.