Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12599

Transaction lifetime check is not enforced for CDAP Puts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0, 4.2.0, 4.1.2
    • Fix Version/s: 4.3.1
    • Component/s: Datasets
    • Labels:
      None
    • Rank:
      1|i007vz:

      Description

      Automatic invalid transaction list pruning relies on having no writes after a transaction's lifetime has expired. Tephra enforces this in the co-processor using transaction encoded in the Put. However, CDAP Puts do not encode the transaction, instead directly sets the Put timestamp as the transaction write pointer. Not having the transaction in the operation makes the check a no-op.

      We can fix this by using the Put timestamp instead of the transaction for this check.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poorna Poorna Chandra
                Reporter:
                poorna Poorna Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: