Fix static initialisation for --setParameter provided knobs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2026-07-06
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Command line –setParameter values are applied in applySetParameterOptions() (server_options_healpers.cpp) via ServerParameter::setFromString() which runs during the StartupOptionStorage initializer phase (EndStartupOptionStorage). No ordering edge exists between any query knob components and EndStartupOptionStorage, so the snapshot can be setup before the command-line value lands in the global ServerParameter but before the listeners are registered.

      To address this, the listener initialization should be executed before BeginStartupOptionStorage. This ensures that both:

      • Default values are captured correctly.
      • No delta is lost. 

            Assignee:
            Catalin Sumanaru
            Reporter:
            Sidarth Krishna
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: