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

Make the periods of query sampling periodic jobs configurable at runtime

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.1
    • None
    • Sharding
    • None
    • Fully Compatible
    • v7.0
    • Sharding NYC 2023-07-24

    Description

      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. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: