-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics, Replication
-
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.
- is related to
-
SERVER-14856 Omit "Undefined" code for any writeError in the shell
- Backlog
-
SERVER-9617 getLastError should have a clearer error message when primary steps down
- Closed
- related to
-
SERVER-27892 Clarify locking rules for _canAcceptNonLocalWrites and _canServeNonLocalReads
- Closed