[SERVER-2630] Misspelled Mutex name in SyncClusterConnection constructor Created: 27/Feb/11 Updated: 12/Jul/16 Resolved: 27/Feb/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.8.0-rc0 |
| Fix Version/s: | 1.9.0 |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | Andrew Armstrong | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
n/a |
||
| Participants: |
| Description |
|
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). |