Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41601

mongocryptd pid file should contain connectivity information

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.14, 4.2.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.2
    • Security 2019-07-01

      mongocryptd currently only writes a single integer as a string to its pid file. Drivers need to more information to use mongocryptd as a singleton process.

      Mongocryptd needs to write the following information as JSON to its pid file:

      {
          port : <int>
          domainSocket: <string> # Not present on Windows
          pid : <int>
      }
      port - is the port that mongocryptd is running on
      pid - is the process number of mongocryptd
      domainSocket - path to unix domain socket, not present on Windows
      

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: