[CXX-156] Remove LastError, DiagStr, and SpinLock from driver Created: 26/Mar/14 Updated: 04/May/14 Resolved: 26/Mar/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | legacy-0.8.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
SpinLock is brought in for one part of the mocklib where it isn't needed, and via the following chain: SpinLock <- DiagStr <- sock.cpp::_hostNameCached <- mongo::getHostNameCached <- mongo::prettyHostName <- mongo::LastError I suspect that this entire chain can be removed from the driver. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 26/Mar/14 ] |
| Comment by Githook User [ 26/Mar/14 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |