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

Do not preserve attributes for Tephra delete markers in TransactionProcessor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Adjunct to TEPHRA-135 which correctly transfers attributes in the client-side TransactionAwareHTable, but also transferred over attributes for Tephra delete markers generated in TransactionProcessor.preDelete() hook. We should not transfer these attributes in this case as the attributes are already there on the Delete marker. Other coprocessors (like the Phoenix coprocessors) get confused because they'll see the original Delete marker in one preBatchMutate() call and then see them again in the put that's done in the TransactionProcessor.preDelete() call. By not adding the attributes, we are able to distinguish the two cases and ignore the one for the Tephra delete marker.

      Attachments

        1. TEPHRA-149.patch
          0.8 kB
          James R. Taylor

        Activity

          People

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

            Dates

              Created:
              Updated: