-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
ALL
-
Platforms 2017-03-06
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.
- is related to
-
SERVER-27950 Add SocketException to the list of NetworkErrors
- Closed