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

XMLWordPrintableJSON

    • 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.

              Assignee:
              Unassigned
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: