Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11199

The sweep server is not reconfigured correctly

    • 3
    • 2023-06-27 Lord of the Sprints
    • v6.0

      In conn_sweep.c:__sweep_server, a for loop contains a check against the sweep_interval variable to know whether it is time or not to process the handles.

      If the sweep server settings are reconfigured during runtime, the sweep_interval variable is never updated, only conn->sweep_interval is.

      We may want to always re-read the timing_stress_flags flag for every iteration within the for loop or we could implement a way to tell the sweep server it has been reconfigured and any potential outdated local variables depending on the connection-level ones should be updated.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: