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

Omit "Undefined" code for any writeError in the shell

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Shell

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: