[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. |