mongocryptd pid file should contain connectivity information

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: