[SERVER-21428] Enable enumeration of codes contained in ErrorCodes class Created: 12/Nov/15 Updated: 05/Apr/17 Resolved: 22/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Misha Tyulenev | Assignee: | Samantha Ritter (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Platforms 2017-03-06 | ||||||||
| Participants: | |||||||||
| Description |
|
the ErrorCodes class generated from error_codes.err error_class should enable an enumeration of the codes. In particular currently isNetworkError and isNotMasterError error codes enumerated explicitly inside ShardRegistry::runCommandOnConfigWithRetries. If the set of codes in those classes change, that method will also need to be updated. Until this ticket is fixed need to keep them consistent manually. |
| Comments |
| Comment by Githook User [ 22/Feb/17 ] |
|
Author: {u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}Message: |
| Comment by Samantha Ritter (Inactive) [ 15/Feb/17 ] |
|
It looks like this issue was fixed by |
| Comment by Justin Cohler [ 13/Dec/16 ] |
|
misha.tyulenev - can you provide more context on this ticket? We do not feel we have enough information to prioritize this issue. |