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

Generalize timing_stress_for_test split functionality

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.9, 4.0.1, 4.1.1, WT3.2.0
    • Component/s: None
    • Labels:
    • Sprint:
      Storage Non-NYC 2018-07-02

      Description

      The timing_stress_for_test configuration options have been useful in uncovering some race conditions recently. We could enhance that further in several ways:

      1) Add a new option that yields during cursor search
      2) Add a new option that yields during cursor traversal

      Those are interesting, because they will uncover issues with split generation tracking code.

      Along with those changes, it would be interesting to change how the timing stress code works, so that it:

      • Doesn't always insert the delay - this way workloads will get more done, and are more likely to generate situations where race conditions are triggered.
      • Waits for a variable amount of time when inducing a race - some conditions require windows open for a specific amount of time (not too long and not too short), so using a variable duration could lead to better coverage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: