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

XMLWordPrintableJSON

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

      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 Brody (Inactive)
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: