Investigate the requirement of having two arrays for the weak and active hazard pointers or having a single array for both

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • Backlog
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2021-11-15
    • 5

      Current WiredTiger stores all hazard pointers on the session in a single array. With the introduction of the weak hazard pointer and the requirement of needing to store a lot of them on sessions we should determine if it is best to store the hazard pointers in a single array with both active and weak pointers, or if it's better to have two separate arrays on the session.

      Things to consider:

      • Impact on eviction performance
      • Complexity of code logic
      • Growing and shrinking the hazard pointer arrays

      Scope:

      • Determine which solution works better and describe the implementation on the follow on ticket: WT-8303

              Assignee:
              Sulabh Mahajan
              Reporter:
              Deepti Hasija (Inactive)
              Tammy Bailey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: