Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71659

Increment the expected number of cursorSeeks by the number of yields in explain_operation_metrics.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Hide

      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.

      Show
      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.
    • QE 2022-12-12
    • 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. 

      Attachments

        Activity

          People

            adi.agrawal@mongodb.com Adi Agrawal
            adi.agrawal@mongodb.com Adi Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: