You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Julius Stroffek (JIRA)" <ji...@apache.org> on 2007/05/03 19:15:15 UTC

[jira] Updated: (DERBY-2508) Implement the XA transaction timeout support for embedded driver.

     [ https://issues.apache.org/jira/browse/DERBY-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julius Stroffek updated DERBY-2508:
-----------------------------------

    Attachment: d2508_try2.stat
                d2508_try2.diff

I found a bug in a patch - there should be a condition tested (timoutTask != null) in XATransactionState.xa_commit/rollback before executing a code to cancel that timeoutTask.

I also changed a value of default xa transaction timeout to 0 to disable the timeout by default.

I am attaching a patch with a fix. Currently, I am running the tests.

> Implement the XA transaction timeout support for embedded driver.
> -----------------------------------------------------------------
>
>                 Key: DERBY-2508
>                 URL: https://issues.apache.org/jira/browse/DERBY-2508
>             Project: Derby
>          Issue Type: Sub-task
>    Affects Versions: 10.2.2.0
>            Reporter: Julius Stroffek
>         Assigned To: Julius Stroffek
>             Fix For: 10.3.0.0
>
>         Attachments: d2432_beta1.diff, d2432_beta1.stat, d2508.diff, d2508.stat, d2508_try2.diff, d2508_try2.stat
>
>
> Implement the XA transaction support for embedded driver in EmbedXAResource.
> Implement functions XAResource.setTransactionTimeout and XAResource.getTransactionTimeout and add the code to cancel the transaction after the specified period of time.

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