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

Clean up the __wt_timing_stress interface

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 6.1.0-rc0, WT11.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Storage Engines - 2022-08-22

      As part of WT-9323 we found that we can't set an explicit amount of time to sleep win __wt_timing_stress. Instead, the function will sleep for a semi-random amount of time. There are other similar functions like __checkpoint_timing_stress that behave similarly, but do allow the user to specify how long to sleep for.

      We should unify these functions into a single function that allows the user to specify how long to sleep for, or if no duration is provided use the default behaviour in __wt_timing_stress

            Assignee:
            ruby.chen@mongodb.com Ruby Chen
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: