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

Add LAS transaction in the session and use that for las cursors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Following WT-5403, all the operations on a transaction obtain the transaction access through a cursor.

      This ticket will add a LAS transaction to the session and change the LAS API and implementation to use that transaction. We will do away with having separate LAS sessions and each session with get a LAS transaction and a LAS cursor of its own.

      For now we can open the cursor on LAS when first needed or when the session gets created and close when the session gets destroyed. Do whichever is easier to begin with.
      We will double the transaction states in txn_global, two for each session now. All the code that walks all the transactions will be changed to walk double the number of states.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                haseeb.bokhari Haseeb Bokhari
                Reporter:
                sulabh.mahajan Sulabh Mahajan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: