Generate QueryKnobConfiguration from IDL

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The query team maintains query_knob_configuration.h which holds a large number of accessors for server parameters. The purpose of this class is to ensure safe access of parameters, it is initialized once at the beginning of a query, so the value of a parameter may be accessed multiple times and guaranteed not to change over the lifetime of a query.

      This file itself is structured in a rigid fashion, all the knobs have the same initialization, getters, setters, etc. This ticket suggests adding a feature to IDL to  allow server parameters to be marked as "query-stable" and generate the QueryKnobConfiguration class. This will reduce toil of query team adding new parameters to this class.

            Assignee:
            Unassigned
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: