Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2066

Investigate whether newer server versions return "not master" or "node is recovering" error messages

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: Retryability
    • Labels:
      None
    • Needed

      In the Retryable Writes spec, it is stated that an error is retryable if it is "a server error response without an error code or one different from those listed above, but with an error message containing the substring 'not master' or 'node is recovering'".

      It is unclear whether newer versions of the server still return error messages like these without the appropriate error codes. If not, this can be clarified in the Retryable Writes spec. If so, perhaps these errors can be assigned the proper error codes/error labels. Either way, the drivers can stop parsing error message strings as older versions of MongoDB are deprecated.

            Assignee:
            Unassigned Unassigned
            Reporter:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: