Enable enumeration of codes contained in ErrorCodes class

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.4
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-03-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Samantha Ritter (Inactive)
              Reporter:
              Misha Tyulenev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: