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.
- related to
-
SERVER-122243 Make benchmarks_sep call into some utility that is also used by mongod_main.cpp
-
- Backlog
-