Refactor WT_REF locking, review all WT_REF.addr reads for locking issues

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • Storage Engines 2020-02-24, Storage Engines 2020-03-09
    • 5

      There are several WT_REF locking loops in the code, we should attempt to refactor them to use a helper function rather than cutting-and-pasting them into place. Review the various versions of that loop and see if we can do better.

      Additionally, review all uses of WT_REF.addr to ensure that we properly lock the WT_REF structure as necessary.

            Assignee:
            Keith Bostic (Inactive)
            Reporter:
            Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: