ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.0.3
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • v9.0
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Overview

      Make the crud_bm benchmark exercise the same command-dispatch path as mongod by installing the query settings command hooks in its fixture.

      Background

      CrudBenchmarkFixture does not install CommandInvocationHooks, so QuerySettingsCommandHooks::onBeforeRun never runs. PQS-supported commands (find/aggregate) stay in the NotStarted query settings state, so the per-operation QueryKnobConfiguration never latches as resolved and re-runs its override resolution on every knob read.

      Scope of Work

      * src/mongo/db/crud_bm.cpp — install a BenchmarkCommandInvocationHooks wrapper delegating to QuerySettingsCommandHooks, mirroring MongodCommandInvocationHooks.

      Acceptance Criteria

      * PQS-supported benchmark workloads resolve query settings; non-query workloads are unaffected.

            Assignee:
            Catalin Sumanaru
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: