[SERVER-71659] Increment the expected number of cursorSeeks by the number of yields in explain_operation_metrics.js Created: 28/Nov/22  Updated: 29/Oct/23  Resolved: 29/Nov/22

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

Type: Bug Priority: Major - P3
Reporter: Adi Agrawal Assignee: Adi Agrawal
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

Run test (possibly multiple times) on debug variants. Turning down the parameter 
internalQueryExecYieldPeriodMS to ~10-15 would also cause early yielding and would reproduce the same error.

Sprint: QE 2022-12-12
Participants:
Linked BF Score: 142

 Description   

Yielding results in errors in the number of cursorSeeks performed by find on an index. When yielding, restoreState performs a cursorSeek, causing it to be 5 here instead of the expected 4. 



 Comments   
Comment by Githook User [ 29/Nov/22 ]

Author:

{'name': 'Adityavardhan Agrawal', 'email': 'aa729@cornell.edu', 'username': 'Adityav369'}

Message: SERVER-71659 Increment the expected number of cursorSeeks by the number of yields
Branch: master
https://github.com/mongodb/mongo/commit/a7d921eeb27139790912cb52dde8f65457c330cb

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