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

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 3

      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

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

              Created:
              Updated:
              Resolved: