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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-12-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Gabriel Russell (Inactive)
            Reporter:
            Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: