Skip to content

Commit

Permalink
Reverted part of optimization in 3ee225c to fix failing test - revisit
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalstain committed Jan 24, 2012
1 parent fc17883 commit 085e179
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -519,7 +519,9 @@ private void applyOnePhaseCommitEntry( LogEntry.OnePhaseCommit commit )
{
XaTransaction xaTx = xaRm.getXaTransaction( xid );
xaTx.setCommitTxId( txId );
cacheTxStartPosition( txId, startEntry.getMasterId(), startEntry );
/*
* cacheTxStartPosition( txId, startEntry.getMasterId(), startEntry );
*/
xaRm.injectOnePhaseCommit( xid );
registerRecoveredTransaction( txId );
}
Expand Down Expand Up @@ -579,7 +581,9 @@ private void applyTwoPhaseCommitEntry( LogEntry.TwoPhaseCommit commit ) throws I
{
XaTransaction xaTx = xaRm.getXaTransaction( xid );
xaTx.setCommitTxId( txId );
cacheTxStartPosition( txId, identifier, startEntry );
/*
* cacheTxStartPosition( txId, identifier, startEntry );
*/
xaRm.injectTwoPhaseCommit( xid );
registerRecoveredTransaction( txId );
}
Expand Down

0 comments on commit 085e179

Please sign in to comment.