Clean up the __wt_timing_stress interface

XMLWordPrintableJSON

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

      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
              Reporter:
              Andrew Morton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: