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

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

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

      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@mongodb.com Sulabh Mahajan
            Reporter:
            deepti.hasija@mongodb.com Deepti Hasija (Inactive)
            Tammy Bailey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: