jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-982) Each TransactionContext creates new thread
Date Tue, 26 Jun 2007 09:37:25 GMT

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

Marcel Reutegger resolved JCR-982.

       Resolution: Fixed
    Fix Version/s: 1.4

Replaced the rollback thread with a single static Timer instance and use a Task per TransactionContext
for the timeout callback.

Committed in revision: 550752

> Each TransactionContext creates new thread
> ------------------------------------------
>                 Key: JCR-982
>                 URL: https://issues.apache.org/jira/browse/JCR-982
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: transactions
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
> The rollback threads are not stopped when the transaction commits, but only when the
timeout occurs. This has the effect that lots of threads are created and sleeping when many
transactions are committed in a short time frame. The rollback thread should be signaled when
the transaction is committed or even better a Timer should be used with a single thread for
all transaction contexts.

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

View raw message