You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/11/02 03:17:25 UTC

[jira] Commented: (RIVER-367) com.sun.jini.mahalo.TxnManagerImpl fails to abort a Transaction when notified of its lease expiration.

    [ https://issues.apache.org/jira/browse/RIVER-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927257#action_12927257 ] 

Hudson commented on RIVER-367:
------------------------------

Integrated in River-trunk #374 (See [https://hudson.apache.org/hudson/job/River-trunk/374/])
    RIVER-367
If the transaction manager can issue an abort for a transaction lease expiration, the transaction may have been discarded by the time this test attempts to commit, so it must accept UnknownTransactionException.
RIVER-367
Change the test for a transaction still being active in the cancel method so that it can succeed in the case of a lease expiration.


> com.sun.jini.mahalo.TxnManagerImpl fails to abort a Transaction when notified of its lease expiration.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: RIVER-367
>                 URL: https://issues.apache.org/jira/browse/RIVER-367
>             Project: River
>          Issue Type: Bug
>          Components: com_sun_jini_mahalo
>            Reporter: Patricia Shanahan
>            Assignee: Patricia Shanahan
>
> The lease timeout logic calls the TxnManagerImpl's cancel method when a Transaction's lease expires. The code is obviously intended to call abort if the transaction is still active, but uses an incorrect test that is certain to fail in the case of lease expiration.
> This bug caused the test failures discussed in River-366.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.