Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
The docs for the sleep command claim "The sleep command takes a document with the following fields". The sleep command does not accept a document; similar to getLastError, the value of the "sleep" field is ignored, and it accepts options as top-level fields in the command document.
Example: db.adminCommand({sleep: 1, w: true}).