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

Add test coverage for currentOp with CQF queries

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-09-18, QO 2023-10-02, QO 2023-10-16

      Followup from https://github.com/10gen/mongo/pull/8635#discussion_r1018385740

      `currentop_query.js` does not run/verify any CQF queries currently. This does not work out of the box for two reasons: 1) the current sharded test environment and test queries are not CQF eligible, and 2) even in a simple environment with CQF-eligible queries, the mechanism used to block running queries to allow them to be reported in a concurrent `currentOp` call (setting `internalQueryExecYieldIterations=1` and using the `setYieldAllLocksHang` failpoint) doesn't cause CQF queries to block. 

      If this is expected to work with CQF, it'd be worth investigating why it does not.

       

            Assignee:
            hana.pearlman@mongodb.com Hana Pearlman
            Reporter:
            alyssa.clark@mongodb.com Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: