[SERVER-4524] Indicate yielding in currentOp() with an explicit field. Created: 19/Dec/11  Updated: 19/Dec/11  Resolved: 19/Dec/11

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

Type: Bug Priority: Major - P3
Reporter: Kyle Banker 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   

In the output to db.currentOp(), the fact that an operation has yielded is indicated by the replacement of the first letter of the "ns" field with a "?". We should have an explicit field instead, e.g.,

{yielded: true}

. If the "?" character indicates things other than yielding, then we should have fields that describe those conditions, too.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 19/Dec/11 ]

There already is a "numYields" field

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