-
Type:
Question
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: 1.8.0-rc0
-
Component/s: None
-
None
-
Environment:n/a
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
I downloaded master of mongodb to get a feel of how its put together.
I casually noticed that in syncclusterconnection.cpp there is the line:
SyncClusterConnection::SyncClusterConnection( const list<HostAndPort> & L) : _mutex("SynClusterConnection") {
While the other overloads have a different mutex name (SyncCluster rather than SynCluster).
I don't know enough about the code yet to know whether this is a possible problem (ie two mutexes may exist instead of one for this class if a separate overload is used).