[SERVER-12534] Note intended for cursorInfo command included in serverStatus output Created: 29/Jan/14  Updated: 10/Dec/14  Resolved: 29/Jan/14

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Especially confusing since it directs users to use serverStatus:

> db.runCommand('cursorInfo')
{
        "note" : "deprecated, use server status metrics",
        "clientCursors_size" : 3,
        "totalOpen" : 3,
        "pinned" : 0,
        "totalNoTimeout" : 3,
        "timedOut" : 0,
        "ok" : 1
}
> db.serverStatus().cursors
{
        "note" : "deprecated, use server status metrics",
        "clientCursors_size" : 3,
        "totalOpen" : 3,
        "pinned" : 0,
        "totalNoTimeout" : 3,
        "timedOut" : 0
}
> 



 Comments   
Comment by Eliot Horowitz (Inactive) [ 29/Jan/14 ]

Both are redirecting to server status metrics, which is neither of those.

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