Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-96

Transaction Checkpoints - multiple write pointers per tx

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • core

    Description

      Some use cases that might otherwise require nested transactions can be served simply by being able to acquire multiple write pointers in a single transactions. For example, when scanning over a table and issuing puts against the same table, we want to be able to see prior writes to the table in the current transaction ("read your own writes" semantics), but not writes that are part of the current scan/put operations. To coordinate this, we can perform a "checkpoint" on the current transaction, which will flush any pending commits, and make a request to the transaction service for a new write pointer. When we perform the scan/put operations, any writes with the prior write pointer(s) will be visible, but the current write pointer will be excluded. This will eliminate the possibility of entering into an infinite loop during the scan/put cycle.

      Attachments

        Issue Links

          Activity

            People

              ghelmling Gary Helmling
              ghelmling Gary Helmling
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: