[SERVER-38542] 'numYield' is reported in the logs and system.profile even for operations which don't yield Created: 11/Dec/18  Updated: 06/Dec/22  Resolved: 18/Feb/20

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

Type: Improvement Priority: Major - P3
Reporter: Brigitte Lamarche (Inactive) Assignee: Backlog - Query Team (Inactive)
Resolution: Won't Fix Votes: 0
Labels: neweng, qexec-team, query-44-grooming
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query
Participants:

 Description   

When initializing a OpDebug, and then calling OpDebug::append, this will place numYields:0 in the BsonObjBuilder. This field should only be added to builder if it has been incremented. 

 



 Comments   
Comment by Craig Homa [ 18/Feb/20 ]

Not reporting this would make it confusing to debug.

Generated at Thu Feb 08 04:49:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.