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

All "not master" errors should use the same error code

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2017-10-23, Repl 2017-11-13

      Description

      There are a few places where we uassert that we are primary that have their own specific uassert codes, rather than using the standard ErrorCodes::NotMaster. We should make all such errors use the same code so it's easier for clients and drivers to respond to such errors.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: