Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1674 Snapshot isolation transaction support through Tephra
  3. PHOENIX-2375

Prevent write of Tephra delete markers in preDelete to ensure current data state hasn't change

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Send Tephra family delete markers instead of real delete family markers to bypass the Tephra coprocessor preDelete hook that writes the Tephra family delete marker immediately. This ensures that the preBatchMutate hook sees the previous state correctly and prevents a second unnecessary call to the Phoenix preBatchMutate hook.

      In addition, removing unnecessary call to generateDeletes for new data table rows.

      Attachments

        1. PHOENIX-2375.patch
          9 kB
          James R. Taylor

        Activity

          People

            jamestaylor James R. Taylor
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: