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

Update the oldest transaction ID from eviction

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None
    • None

    Description

      It is important that WiredTiger's tracking of the oldest transaction ID doesn't fall too far behind, or some operations become slower from keeping around versions unnecessarily.

      We have tried having transactions update the oldest ID themselves, but that adds extra work into critical paths, and needs care to avoid getting tangled up with application threads own updates to transaction state.

      Instead, have the eviction server update the oldest ID every time it wakes up (at the same time it updates the read generation). This should be frequent enough to prevent the oldest ID falling a long way behind current, and simplifies ordinary transactions.

      Attachments

        Issue Links

          Activity

            People

              michael.cahill@mongodb.com Michael Cahill
              michael.cahill@mongodb.com Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: