[SERVER-32257] serverGlobalParams.socket only needs to exist when serverGlobalParams.noUnixSocket is true Created: 11/Dec/17  Updated: 30/Oct/23  Resolved: 11/Dec/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.1

Type: Bug Priority: Major - P3
Reporter: Gabriel Russell (Inactive) Assignee: Gabriel Russell (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-12-18
Participants:

 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.



 Comments   
Comment by Githook User [ 11/Dec/17 ]

Author:

{'name': 'Gabriel Russell', 'email': 'gabriel.russell@mongodb.com', 'username': 'gabrielrussell'}

Message: SERVER-32257 socket path only needs to exist when !noUnixSocket
Branch: master
https://github.com/mongodb/mongo/commit/950293b41d9554394b0f42fa30566f551f823776

Generated at Thu Feb 08 04:29:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.