You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "David Sitsky (JIRA)" <ji...@apache.org> on 2007/10/09 07:22:23 UTC

[jira] Created: (AMQ-1452) Duplicate messages dispatched when using AMQ Store

Duplicate messages dispatched when using AMQ Store
--------------------------------------------------

                 Key: AMQ-1452
                 URL: https://issues.apache.org/activemq/browse/AMQ-1452
             Project: ActiveMQ
          Issue Type: Bug
          Components: Message Store
    Affects Versions: 5.0.0
            Reporter: David Sitsky
            Priority: Critical
             Fix For: 5.0.0
         Attachments: duplicate.log

This issue was originally reported on activemq-user here: http://www.nabble.com/Duplicate-message-delivered-to-consumers-on-queue-with-kaha-persistence-tf4560327s2354.html.

When I initially reported this issue, Rob suggested to not use Kaha persistence, but using the AMQ store.  This seemed to resolve the issue.

Unfortunately, I have seen another situation where a duplicate message is being re-delivered, it turns out to the same consumer.  I have tried in vain to create a unit test to reproduce this, but have been unable to do so.

The offending message ID is ID:tamarama-63606-1191905255404-2:2:3:3:1, and if you look at the attached debug trace, you can see it being sent to a queue, read from a queue, and then being dispatched a second time.  The same worker thread in this case was the producer and the consumer of message.

This issue does not occur when persistence is not enabled.

This is seen with revision 583015.

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


Re: [jira] Created: (AMQ-1452) Duplicate messages dispatched when using AMQ Store

Posted by Márcio Moraes <mm...@gmail.com>.
I have tested this issue agains 5.0.0-RC1 and got the same problem.

Using SNAPSHOT version (revison 583583) all works fine.

So i think it was solved to the next release candidate version.

Att,

Márcio Moraes

2007/10/9, David Sitsky (JIRA) <ji...@apache.org>:
>
> Duplicate messages dispatched when using AMQ Store
> --------------------------------------------------
>
>                  Key: AMQ-1452
>                  URL: https://issues.apache.org/activemq/browse/AMQ-1452
>              Project: ActiveMQ
>           Issue Type: Bug
>           Components: Message Store
>     Affects Versions: 5.0.0
>             Reporter: David Sitsky
>             Priority: Critical
>              Fix For: 5.0.0
>          Attachments: duplicate.log
>
> This issue was originally reported on activemq-user here:
> http://www.nabble.com/Duplicate-message-delivered-to-consumers-on-queue-with-kaha-persistence-tf4560327s2354.html
> .
>
> When I initially reported this issue, Rob suggested to not use Kaha
> persistence, but using the AMQ store.  This seemed to resolve the issue.
>
> Unfortunately, I have seen another situation where a duplicate message is
> being re-delivered, it turns out to the same consumer.  I have tried in vain
> to create a unit test to reproduce this, but have been unable to do so.
>
> The offending message ID is ID:tamarama-63606-1191905255404-2:2:3:3:1, and
> if you look at the attached debug trace, you can see it being sent to a
> queue, read from a queue, and then being dispatched a second time.  The same
> worker thread in this case was the producer and the consumer of message.
>
> This issue does not occur when persistence is not enabled.
>
> This is seen with revision 583015.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Assigned: (AMQ-1452) Duplicate messages dispatched when using AMQ Store

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

Rob Davies reassigned AMQ-1452:
-------------------------------

    Assignee: Rob Davies

> Duplicate messages dispatched when using AMQ Store
> --------------------------------------------------
>
>                 Key: AMQ-1452
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1452
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.0.0
>            Reporter: David Sitsky
>            Assignee: Rob Davies
>            Priority: Critical
>             Fix For: 5.0.0
>
>         Attachments: duplicate.log
>
>
> This issue was originally reported on activemq-user here: http://www.nabble.com/Duplicate-message-delivered-to-consumers-on-queue-with-kaha-persistence-tf4560327s2354.html.
> When I initially reported this issue, Rob suggested to not use Kaha persistence, but using the AMQ store.  This seemed to resolve the issue.
> Unfortunately, I have seen another situation where a duplicate message is being re-delivered, it turns out to the same consumer.  I have tried in vain to create a unit test to reproduce this, but have been unable to do so.
> The offending message ID is ID:tamarama-63606-1191905255404-2:2:3:3:1, and if you look at the attached debug trace, you can see it being sent to a queue, read from a queue, and then being dispatched a second time.  The same worker thread in this case was the producer and the consumer of message.
> This issue does not occur when persistence is not enabled.
> This is seen with revision 583015.

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


[jira] Resolved: (AMQ-1452) Duplicate messages dispatched when using AMQ Store

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

Rob Davies resolved AMQ-1452.
-----------------------------

    Resolution: Fixed

Fixed by svn revision 586580

> Duplicate messages dispatched when using AMQ Store
> --------------------------------------------------
>
>                 Key: AMQ-1452
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1452
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.0.0
>            Reporter: David Sitsky
>            Assignee: Rob Davies
>            Priority: Critical
>             Fix For: 5.0.0
>
>         Attachments: duplicate.log
>
>
> This issue was originally reported on activemq-user here: http://www.nabble.com/Duplicate-message-delivered-to-consumers-on-queue-with-kaha-persistence-tf4560327s2354.html.
> When I initially reported this issue, Rob suggested to not use Kaha persistence, but using the AMQ store.  This seemed to resolve the issue.
> Unfortunately, I have seen another situation where a duplicate message is being re-delivered, it turns out to the same consumer.  I have tried in vain to create a unit test to reproduce this, but have been unable to do so.
> The offending message ID is ID:tamarama-63606-1191905255404-2:2:3:3:1, and if you look at the attached debug trace, you can see it being sent to a queue, read from a queue, and then being dispatched a second time.  The same worker thread in this case was the producer and the consumer of message.
> This issue does not occur when persistence is not enabled.
> This is seen with revision 583015.

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