QueryKnob<T> descriptor infrastructure

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2026-04-27
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Implement self-registering QueryKnobBase/QueryKnob<T> descriptor infrastructure. Each descriptor carries a readGlobal function pointer via a concept-dispatched readGlobalValue<> template (AtomicLoadable for AtomicWord<T>, SynchronizedGettable for synchronized_value<Enum>), and a fromBSON deserializer auto-set by the constructor. QueryKnobBase::all() collects all descriptors at static init for the registry to consume in M3. Unit tests use synthetic server parameters to verify self-registration, readGlobal, and fromBSON behavior.

            Assignee:
            Daniel Tabacaru
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: