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

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

    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

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: