Make 10058 a stable/reserved "LegacyNotPrimary" error code

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2021-03-22, Repl 2021-04-05, Repl 2021-04-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As discussed inĀ HELP-22228, <=3.2 servers used to return the following state change error:

      {ok: 0, code: 10058, errmsg: "not master"}
      

      Error code 10058 is currently "unstable" but the drivers to would like to add it to our client-side list of state change error codes. We'd like the server to do the same to ensure that error code 10058 doesn't accidentally get reused for non-state change errors in the future.

            Assignee:
            Vesselina Ratcheva (Inactive)
            Reporter:
            Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: