[DOCS-10089] Fix currentOp.op possiblities Created: 05/Apr/17  Updated: 30/Oct/23  Resolved: 16/Oct/18

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Minor - P4
Reporter: Danny Hatcher (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

https://docs.mongodb.com/manual/reference/command/currentOp/#currentOp.op


Issue Links:
Duplicate
duplicates DOCS-10053 currentOp example for finding index o... Closed
Participants:
Days since reply: 6 years, 45 weeks ago
Epic Link: DOCSP-1769

 Description   

The docs for db.currentOp() appear to be out of date as of 3.2. The docs give a list of 7 possible outputs for currentOp.op however it is missing the "command" value. While the docs specifically state that createIndexes would show up as a "query", it now shows up as a "command". I believe the docs are referencing the old implementation of queries that was changed in version of 3.2.


Generated at Thu Feb 08 07:59:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.