You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Sean Broeder (JIRA)" <ji...@apache.org> on 2016/07/19 00:15:20 UTC
[jira] [Resolved] (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:all-tabpanel ]
Sean Broeder resolved TRAFODION-1935.
-------------------------------------
Resolution: Fixed
> 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)