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

Test that new yielding behavior is used on eligible queries

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution
    • Execution Team 2022-01-24, Execution Team 2022-06-27

    Description

      We should add a test which checks that the new yielding code path is actually taken, for queries that are eligible.

      One way to do this may be to add a fail point which sets the 'msg' flag on CurOp. Alternatively, we may want to have a CurOp or explain flag indicating which yielding behavior was used.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: