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

Don't use a hardcoded value for the obsolete thread to wake up

    • Storage Engines
    • 2
    • StorEng - 2025-02-28

      The current code checks every 5 seconds if the obsolete cleanup run thread should run.
      Instead, we should check whenever it was configured to run, for instance, see the sweep server:

              __wt_cond_wait_signal(session, conn->sweep_cond, sweep_interval * WT_MILLION,
                __sweep_server_run_chk, &cv_signalled);
      

      The sweep_interval comes from conn->sweep_interval

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

              Created:
              Updated:
              Resolved: