-
Type: Spec Change
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Component/s: Client Side Encryption
-
None
-
Needed
mongocryptd uses a PID file to act as a singleton process. By default it creates the PID file in the current working directory. Instead, we should use a sensible user-specific default path, determined by libmongocrypt in CDRIVER-3260.
Similarly, we should choose a user specific domain socket path.
Also consider having drivers read the PID file. This could detect if a user already has a spawned mongocryptd listening on a different port than what they're attempting to spawn/connect to.
- depends on
-
MONGOCRYPT-115 Expose a default system dependent PID file + domain socket location for mongocryptd
- Backlog
- related to
-
DRIVERS-1861 [FLE] Clarify spawning and connecting to mongocryptd
- Backlog