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

serverGlobalParams.socket only needs to exist when serverGlobalParams.noUnixSocket is true

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-12-18

    Description

      https://github.com/mongodb/mongo/blob/master/src/mongo/db/initialize_server_global_state.cpp#L370

      We mandate that the serverGlobalParams.socket path exists even if serverGlobalParams.noUnixSocket is true.

      serverGlobalParams.socket defaults to "/tmp"
      So this makes it difficult to run unit tests on a machine without "/tmp" like android.

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: