Add test coverage for currentOp with CQF queries

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Alyssa Clark
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: