Add knob to control number of pre-image samples

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-03-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This change adds a new server parameter to control the number of samples to draw from each user collection that has change stream pre-images enabled.
      The number of samples was previously hard-coded to 10, and is now configurable at server startup and at runtime by setting the new `changeStreamPreImagesSamplePointsPerUUID` server parameter. The parameter can be used as a runtime mitigation in case pre-image sampling is found to consume too many I/O resources.

      The server parameter default value is still 10, and the minimum value is 1.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: