You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2010/04/21 16:03:15 UTC

[jira] Created: (AMQ-2704) Non durable TopicSubscriptions can get duplicate messages in a network of brokers ring - suppression works in the stores and for durables

Non durable TopicSubscriptions can get duplicate messages in a network of brokers ring - suppression works in the stores and for durables
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: AMQ-2704
                 URL: https://issues.apache.org/activemq/browse/AMQ-2704
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.1
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.4.0


With a ring topology some duplicates are inevitable, Brokers A,B,C,D - producer on A, consumer on C, paths A-B-C and A-D-C are identical. When the subscription is backed by a store, the store traps/suppresses the duplicate. A regular Topic sub does not have such suppression as it does not use a message cursor, just regular direct dispatch.
A regular topic sub needs some duplicate suppression in line with the PolicyEntry enableAudit.

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


[jira] Resolved: (AMQ-2704) Non durable TopicSubscriptions can get duplicate messages in a network of brokers ring - suppression works in the stores and for durables

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

Gary Tully resolved AMQ-2704.
-----------------------------

    Resolution: Fixed

resolved in r936390

TopicSubscription now respects the PolicyEntry.enableAudit (enabled once a matching policy entry is found) which allows duplicates to be suppressed in the same way as the message stores and cursors suppress duplicates.
A topic sub in a ring network will not now get duplicate messages.

> Non durable TopicSubscriptions can get duplicate messages in a network of brokers ring - suppression works in the stores and for durables
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2704
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2704
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.1
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.4.0
>
>
> With a ring topology some duplicates are inevitable, Brokers A,B,C,D - producer on A, consumer on C, paths A-B-C and A-D-C are identical. When the subscription is backed by a store, the store traps/suppresses the duplicate. A regular Topic sub does not have such suppression as it does not use a message cursor, just regular direct dispatch.
> A regular topic sub needs some duplicate suppression in line with the PolicyEntry enableAudit.

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