You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Swen Moczarski (JIRA)" <ji...@apache.org> on 2010/10/17 21:26:40 UTC

[jira] Created: (AMQ-2982) Sticky KahaDB log files due to local transaction rollback

Sticky KahaDB log files due to local transaction rollback
---------------------------------------------------------

                 Key: AMQ-2982
                 URL: https://issues.apache.org/activemq/browse/AMQ-2982
             Project: ActiveMQ
          Issue Type: Bug
          Components: Message Store
    Affects Versions: 5.4.1
         Environment: Ubuntu 10.04, Java 1.6
Mac OS X 10.5, Java 1.6.0_20
            Reporter: Swen Moczarski


On a rollback of a local transaction the transaction won't be removed from the inflight transaction list of the KahaDB MessageDatabase. This leads to KahaDB log files which won't be deleted even if there are no messages which are referred by the log file.

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


[jira] Updated: (AMQ-2982) Sticky KahaDB log files due to local transaction rollback

Posted by "Swen Moczarski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Swen Moczarski updated AMQ-2982:
--------------------------------

    Attachment: AMQ2982Fix.patch
                AMQ2982Test.patch

Test case and fix are attached. I would be glad if someone could review if the patch makes sense.

> Sticky KahaDB log files due to local transaction rollback
> ---------------------------------------------------------
>
>                 Key: AMQ-2982
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2982
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.4.1
>         Environment: Ubuntu 10.04, Java 1.6
> Mac OS X 10.5, Java 1.6.0_20
>            Reporter: Swen Moczarski
>         Attachments: AMQ2982Fix.patch, AMQ2982Test.patch
>
>
> On a rollback of a local transaction the transaction won't be removed from the inflight transaction list of the KahaDB MessageDatabase. This leads to KahaDB log files which won't be deleted even if there are no messages which are referred by the log file.

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


[jira] Resolved: (AMQ-2982) Sticky KahaDB log files due to local transaction rollback

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-2982.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.5.0
         Assignee: Dejan Bosanac

Fixed with svn revision 1027453. Thanks for the patch!

> Sticky KahaDB log files due to local transaction rollback
> ---------------------------------------------------------
>
>                 Key: AMQ-2982
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2982
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.4.1
>         Environment: Ubuntu 10.04, Java 1.6
> Mac OS X 10.5, Java 1.6.0_20
>            Reporter: Swen Moczarski
>            Assignee: Dejan Bosanac
>             Fix For: 5.5.0
>
>         Attachments: AMQ2982Fix.patch, AMQ2982Test.patch
>
>
> On a rollback of a local transaction the transaction won't be removed from the inflight transaction list of the KahaDB MessageDatabase. This leads to KahaDB log files which won't be deleted even if there are no messages which are referred by the log file.

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