-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
We need to preserve the legacy behavior, which is:
1. check on entry if we are not primary; return NotMaster immediately
2. upon stepdown, need to signal any blocked awaitReplication() callers, so that they can wake up and return NotMaster
Note that we need to be careful to avoid any state-change races between 1 and 2.
- related to
-
SERVER-9617 getLastError should have a clearer error message when primary steps down
- Closed