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

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

    • Fully Compatible
    • ALL
    • Repl 2017-10-23, Repl 2017-11-13

      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.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: