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

Update the oldest transaction ID from eviction

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None
    • # Replies:
      4
    • Last comment by Customer:
      true

      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.

        Issue Links

          Activity

          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: WT-2066 - Update the oldest transaction ID from eviction
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/05015655982f6a5312559420e44452032186ba09

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: WT-2066 - Update the oldest transaction ID from eviction Branch: develop https://github.com/wiredtiger/wiredtiger/commit/05015655982f6a5312559420e44452032186ba09
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}

          Message: Merge pull request #2156 from wiredtiger/WT-2066

          WT-2066 - Update the oldest transaction ID from eviction
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/8f42f02d3c4ba54aa7d3b36f475ca4e752902150

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'} Message: Merge pull request #2156 from wiredtiger/ WT-2066 WT-2066 - Update the oldest transaction ID from eviction Branch: develop https://github.com/wiredtiger/wiredtiger/commit/8f42f02d3c4ba54aa7d3b36f475ca4e752902150
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}

          Message: Merge pull request #2156 from wiredtiger/WT-2066

          WT-2066 - Update the oldest transaction ID from eviction
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/8f42f02d3c4ba54aa7d3b36f475ca4e752902150

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'} Message: Merge pull request #2156 from wiredtiger/ WT-2066 WT-2066 - Update the oldest transaction ID from eviction Branch: develop https://github.com/wiredtiger/wiredtiger/commit/8f42f02d3c4ba54aa7d3b36f475ca4e752902150
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: WT-2066 Update the oldest transaction ID from eviction

          (cherry picked from commit 05015655982f6a5312559420e44452032186ba09)
          Branch: mongodb-3.0
          https://github.com/wiredtiger/wiredtiger/commit/0661c0bff0e1fa7c5751397114b85cfa579a41a7

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: WT-2066 Update the oldest transaction ID from eviction (cherry picked from commit 05015655982f6a5312559420e44452032186ba09) Branch: mongodb-3.0 https://github.com/wiredtiger/wiredtiger/commit/0661c0bff0e1fa7c5751397114b85cfa579a41a7

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 35 weeks, 4 days ago
                Date of 1st Reply: