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

Generalize timing_stress_for_test split functionality

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

      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.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: