-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Command Operations
-
None
The Mongo.unlock method currently queries the "$cmd.sys.unlock" method to unlock the server. The 3.2 server will support an fsyncUnlock command to replace this. The driver should call that command if it detects a 3.2 server. Otherwise it should ball back to the existing way of doing it.
Similarly, the Mongo.isLocked method queries the "$cmd.sys.inprog" collection. The 3.2 server will support a currentOp command that does the same thing. The driver should call that command if it detects a 3.2 server. Otherwise it should ball back to the existing way of doing it.
- depends on
-
SERVER-7775 Make special commands (inprog, killop, unlock) go through the standard command codepath
- Closed
- is depended on by
-
DRIVERS-213 Make special commands (inprog, killop, unlock) go through the standard command codepath
- Closed