UnknownTransactionException received during commit

Bug #1454034 reported by Sean Broeder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Committed
Critical
Sean Broeder

Bug Description

When a region encounters an exception in commit it sets the state to aborted, calls retireTransactionStaes and throws an exception. The problem is the region had already voted to commit in commitRequest, so the region has lost the ability to unilaterally set the state to abort. After this the puts never make it into the database and all sorts of data consistency issues could arise.

Changed in trafodion:
assignee: nobody → Sean Broeder (sean-broeder)
importance: Undecided → Critical
Revision history for this message
Trafodion-Gerrit (neo-devtools) wrote : Fix proposed to core (master)

Fix proposed to branch: master
Review: https://review.trafodion.org/1645

Changed in trafodion:
status: New → In Progress
Revision history for this message
Trafodion-Gerrit (neo-devtools) wrote : Fix merged to core (master)

Reviewed: https://review.trafodion.org/1645
Committed: https://github.com/trafodion/core/commit/33ed3cfbfd274e8a6c7d47d0e39536d4fdf235f5
Submitter: Trafodion Jenkins
Branch: master

commit 33ed3cfbfd274e8a6c7d47d0e39536d4fdf235f5
Author: Sean Broeder <email address hidden>
Date: Tue May 12 03:45:20 2015 +0000

    Bug 1454034

    This corrects a defect where the region would erroneously set the
    TransactionState to aborted after already voting to commit it. This is
    a violation of 2PC and would result in data inconsistency.

    Change-Id: I3ceedc9f14bc3b59e99759e8d6336493cb7854fa

Changed in trafodion:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.