-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v3.2
-
Repl 15 (06/03/16), Repl 16 (06/24/16), Repl 2016-10-31
Nodes in drain mode with slaveOk specified should be able to accept reads. Currently, you get a "node is recovering" error instead. The logic in Command::execCommand() needs to be tightened up when detecting nodes actually in RECOVERING state versus PRIMARY but can't do writes (otherwise known as 'drain mode').
- related to
-
SERVER-21375 Confusing error message when command comes in while node is in drain mode
- Closed