[SERVER-8984] DBClientInterface::getLastError should test for command failures Created: 14/Mar/13 Updated: 05/Nov/15 Resolved: 20/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | 2.0.8, 2.2.3, 2.4.0-rc3 |
| Fix Version/s: | 2.2.4, 2.4.2, 2.5.0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | commands, failure, getLastError | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
In DBClientWithCommand::getLastErrorString(...) We should check that isOk(info) and if not, return info["errmsg"] |
| Comments |
| Comment by auto [ 25/Mar/13 ] |
|
Author: {u'date': u'2013-03-20T14:56:00Z', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |
| Comment by auto [ 25/Mar/13 ] |
|
Author: {u'date': u'2013-03-20T14:56:00Z', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |
| Comment by auto [ 20/Mar/13 ] |
|
Author: {u'date': u'2013-03-20T14:56:00Z', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |