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

Add transaction reference in a cursor and use that for transaction operations.

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

      At the moment WT_SESSION_IMPL gets passed around as a standard argument to most functions in WT. Access to a session's transaction information is then obtained from session->txn. Following the design from WT-5323, a cursor would contain a reference to the transaction it might be involved in. All the operations that could only be performed with an open cursor available would extract the transaction from that cursor.

      Note: This change doesn't add a LAS transaction in the session yet.

            Assignee:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: