Reduce the WT_SESSION hazard_size when possible

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • WT2.9.0, 3.2.10, 3.3.15
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      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.

              Assignee:
              Michael Cahill (Inactive)
              Reporter:
              Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: