Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2113

[FLE] Have drivers choose a default PID file and domain socket path

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: