Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16320

Investigate changes in SERVER-78913: Make the periods of query sampling periodic jobs configurable at runtime

      Original Downstream Change Summary

      Starting from 7.0.1 (not released yet), the queryAnalysisSamplerConfigurationRefreshSecs and queryAnalysisWriterIntervalSecs server parameters are configurable at runtime (i.e. not just on startup). 

      Description of Linked Ticket

      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:
            joseph.dougherty@mongodb.com Joseph Dougherty
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              37 weeks, 4 days ago