Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Repl 2016-09-19
Description
Because other subsystems, e.g. sharding, assume that onDrainComplete is called when a node is becoming primary, onDrainComplete should be called after setting _canAcceptNonLocalWrites.