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

Add eviction debug mode and extra checks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.1, 4.0.11, 4.3.1, 4.2.0-rc2
    • Component/s: None
    • Labels:
    • Story Points:
      13
    • Sprint:
      Storage NYC 2019-01-14, Storage NYC 2019-01-28, Storage NYC 2019-02-25, Storage Engines 2019-06-03, Storage Engines 2019-06-17
    • Backport Requested:
      v4.2, v4.0

      Description

      WT moving pages in and out of lookaside has had bugs that have caused failures in MongoDB testing. However, MongoDB testing often randomizes which tests are run concurrently that make it hard to line up a "heavy workload" test that results in cache pressure and lookaside activity to run with the test that observes a symptom caused by a lookaside bug. This makes reproducing and isolating test failures difficult.

      Furthermore, I suspect organic cache pressure creates biases with respect to which pages eviction will write out to lookaside. Because MongoDB creates WT tables for meta-information, there may be additional cases where, despite creating lookaside activity in general, not all of the MongoDB code paths are affected.

      If WT could be configured to choose to write more pages out to lookaside, even when there's no cache pressure, this would ease the effort required to reproduce problems. My assumption is that an easy implementation would still be susceptible to biases in which page gets written out. A bonus would be writing pages out to lookaside where each table has an equal chance of having its blocks being written to lookaside. The bonus feature is just a nice to have. If it's not trivial, that should be dropped as a goal; if lookaside is engaged in low-cache pressure scenarios, MongoDB can more easily have the tables it cares about be the primary ones being accessed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sue.loverso Susan LoVerso
                Reporter:
                daniel.gottlieb Daniel Gottlieb
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: