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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • Backlog
    • None
    • None
    • 5
    • Storage - Ra 2021-11-15

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sulabh.mahajan@mongodb.com Sulabh Mahajan
              deepti.hasija@mongodb.com Deepti Hasija
              Tammy Bailey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: