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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage Engines 2020-01-27

      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.

            Assignee:
            haseeb.bokhari@mongodb.com Haseeb Bokhari (Inactive)
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: