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

Generalize timing_stress_for_test split functionality

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.9, 4.0.1, 4.1.1, WT3.2.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: