You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/15 20:17:25 UTC
[jira] [Commented] (TRAFODION-1935) TransactionManager retries
needlessly when an UnknownTransactionException is caught
[ https://issues.apache.org/jira/browse/TRAFODION-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243348#comment-15243348 ]
ASF GitHub Bot commented on TRAFODION-1935:
-------------------------------------------
GitHub user sbroeder opened a pull request:
https://github.com/apache/incubator-trafodion/pull/436
Fix for JIRA [TRAFODION-1935]
TransactionManager needlessly retries in doPrepareX when an
UnknownTransactionException is caught
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sbroeder/incubator-trafodion sean_traf
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/436.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #436
----
commit 32916f91f5a89019465438648fb708925995dd58
Author: Sean Broeder <sb...@edev03.esgyn.local>
Date: 2016-04-15T18:13:24Z
Fix for JIRA [TRAFODION-1935]
TransactionManager needlessly retries in doPrepareX when an
UnknownTransactionException is caught
----
> TransactionManager retries needlessly when an UnknownTransactionException is caught
> -----------------------------------------------------------------------------------
>
> Key: TRAFODION-1935
> URL: https://issues.apache.org/jira/browse/TRAFODION-1935
> Project: Apache Trafodion
> Issue Type: Bug
> Components: dtm
> Reporter: Sean Broeder
> Assignee: Sean Broeder
>
> In doPrepareX the the TransactionManager catches and retries UnknownTransactionExceptions thrown by the regions. This is pointless because regions that don't know about a transaction will never learn about it through a prepare message retry. Instead, we should catch a generic excpetion, look to see if it's an UnknownTransactionException, throw it if it is, otherwise retry.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)