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 22:13:40 UTC

[jira] Created: (AMQ-2983) Sticky KahaDB log files due to concurrent consumer with local transaction

Sticky KahaDB log files due to concurrent consumer with local transaction
-------------------------------------------------------------------------

                 Key: AMQ-2983
                 URL: https://issues.apache.org/activemq/browse/AMQ-2983
             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


Concurrent consumer with local transactional session and session.receive() leads to KahaDB log files which won't be deleted even if there are no messages which are referred by the log file.

Please, see the attached test case. If only one consumer is configured it seems to work, but with more than one concurrent consumer the test fails.

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


[jira] Resolved: (AMQ-2983) Sticky KahaDB log files due to concurrent consumer with local transaction

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

Dejan Bosanac resolved AMQ-2983.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.5.0

Fixed with svn revision 1027863. Thanks for the test case

> Sticky KahaDB log files due to concurrent consumer with local transaction
> -------------------------------------------------------------------------
>
>                 Key: AMQ-2983
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2983
>             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: AMQ2983Test.patch
>
>
> Concurrent consumer with local transactional session and session.receive() leads to KahaDB log files which won't be deleted even if there are no messages which are referred by the log file.
> Please, see the attached test case. If only one consumer is configured it seems to work, but with more than one concurrent consumer the test fails.

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


[jira] Updated: (AMQ-2983) Sticky KahaDB log files due to concurrent consumer with local transaction

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

Swen Moczarski updated AMQ-2983:
--------------------------------

    Attachment: AMQ2983Test.patch

> Sticky KahaDB log files due to concurrent consumer with local transaction
> -------------------------------------------------------------------------
>
>                 Key: AMQ-2983
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2983
>             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: AMQ2983Test.patch
>
>
> Concurrent consumer with local transactional session and session.receive() leads to KahaDB log files which won't be deleted even if there are no messages which are referred by the log file.
> Please, see the attached test case. If only one consumer is configured it seems to work, but with more than one concurrent consumer the test fails.

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


[jira] Assigned: (AMQ-2983) Sticky KahaDB log files due to concurrent consumer with local transaction

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

Dejan Bosanac reassigned AMQ-2983:
----------------------------------

    Assignee: Dejan Bosanac

> Sticky KahaDB log files due to concurrent consumer with local transaction
> -------------------------------------------------------------------------
>
>                 Key: AMQ-2983
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2983
>             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
>         Attachments: AMQ2983Test.patch
>
>
> Concurrent consumer with local transactional session and session.receive() leads to KahaDB log files which won't be deleted even if there are no messages which are referred by the log file.
> Please, see the attached test case. If only one consumer is configured it seems to work, but with more than one concurrent consumer the test fails.

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