[DOCS-1957] sleep command usage incorrect Created: 13/Sep/13 Updated: 11/Jan/17 Resolved: 17/Sep/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 10 years, 22 weeks, 1 day ago |
| 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}). |
| Comments |
| Comment by auto [ 17/Sep/13 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |