Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78913

Make the periods of query sampling periodic jobs configurable at runtime

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.1
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • v7.0
    • Sharding NYC 2023-07-24

      Currently, the server parameters for the periods of the periodic jobs for refreshing query sampling configurations and writing sampled queries to disk are configurable on startup only. Although users are unlikely to need to configure these periods, we should still make them configurable in runtime.

      Here is an example of how to subscribe to changes to a server parameter, and here is an example of how the period of a PeriodicRunner::Job can be updated. 

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: