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

Reduce the WT_SESSION hazard_size when possible

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.9.0, 3.2.10, 3.3.15
    • None
    • None

    Description

      The current hazard pointer implementation in WiredTiger never reduces the number of active hazard pointers in a session from the high water mark. That means that if a session has many hazard pointers out at a point in time, all future walks will include up to the high water mark.

      We could reduce the size in __wt_hazard_clear if the pointer being freed is the last in the list. Or even more simply clear the size in session reset.

      Attachments

        Activity

          People

            michael.cahill@mongodb.com Michael Cahill
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: