Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding 2017-03-27, Sharding 2017-08-21
Description
... the parallel cursor code assumes the slaveOk option is set, while the criteria is now more complex (dbclient_rs.cpp::_isQueryOkToSecondary).
If the slaveOk option is set, the parallel cursor assumes it is ok if the primary is unavailable for a version check, since the query may go to an unversioned secondary in any case. However, other queries/commands that go to secondaries are missed in this check.