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

Add support for taking weak hazard pointers on a page when adding a modification to the transaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Transactions in WiredTiger maintain an array of modifications, adding a new one for each operation performed in the context of that transaction. In this ticket we should extend the __wt_txn_op structure to hold a hazard pointers. When the transaction performs a modification a weak hazard pointer should be taken on the page and saved in the new hazard pointer spot in the op structure.

      Scope:

      • Add a hazard pointer entry to __wt_txn_op
      • Take weak hazard pointers where relevant, likely by passing a REF or similar to __wt_txn_modify
      • Write a test for the functionality if possible

      Attachments

        Issue Links

          Activity

            People

              backlog-server-storage-engines Backlog - Storage Engines Team
              deepti.hasija@mongodb.com Deepti Hasija
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: