Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
ALL
-
v3.0
-
Repl 18 (08/05/16), Repl 2016-08-29, Query 2017-01-23
Description
For three cases (isMaster, shard version check, and index constraint check), lockAndCheckImpl() returns false without setting an error in the result. This might result in write operations silently failing without notification to the user, although it doesn't seem to matter for the isMaster case since the connection will always be terminated without returning to the user.
This code is scheduled to be refactored in 3.4 but we need to fix it in prior versions.