Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14856

Omit "Undefined" code for any writeError in the shell

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Shell

      A write to a secondary node fails with the following:

      WriteResult({ "writeError" : { "code" : undefined, "errmsg" : "not master" } })
      

      There should be a a defined code for every error.

      If the code is "undefined", then omit it from the writeError.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: