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 2008/05/22 12:58:54 UTC

[jira] Created: (AMQ-1742) False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer

False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer
-------------------------------------------------------------------------------------------------------------------------

                 Key: AMQ-1742
                 URL: https://issues.apache.org/activemq/browse/AMQ-1742
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.1.0
         Environment: all
            Reporter: Gary Tully


a consumer can miss messages with failover transport as the connection audit suppress duplicates feature is enabled for failover connections.
When there are gaps in the message sequence that span the audit window or when message ids are multiples of 64 the BitArrayBin that backs the AuditChecker gets out of sync and can report false positives, rejecting a duplicate message in error.

If it is suspected, enable log4j.logger.org.apache.activemq.ActiveMQMessageConsumer=TRACE to see an event when a duplicate is recieved.

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


[jira] Updated: (AMQ-1742) False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer

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

Gary Tully updated AMQ-1742:
----------------------------

    Attachment: AMQ-1742.patch

fix to BitArayBin and test case, ensures that with large gaps in the message squence, the window of bits is correctly moved on. bit indices not in the window are now reported as unset.

> False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1742
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1742
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>         Environment: all
>            Reporter: Gary Tully
>         Attachments: AMQ-1742.patch
>
>
> a consumer can miss messages with failover transport as the connection audit suppress duplicates feature is enabled for failover connections.
> When there are gaps in the message sequence that span the audit window or when message ids are multiples of 64 the BitArrayBin that backs the AuditChecker gets out of sync and can report false positives, rejecting a duplicate message in error.
> If it is suspected, enable log4j.logger.org.apache.activemq.ActiveMQMessageConsumer=TRACE to see an event when a duplicate is recieved.

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


[jira] Assigned: (AMQ-1742) False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer

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

Rob Davies reassigned AMQ-1742:
-------------------------------

    Assignee: Rob Davies

> False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1742
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1742
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>         Environment: all
>            Reporter: Gary Tully
>            Assignee: Rob Davies
>         Attachments: AMQ-1742.patch
>
>
> a consumer can miss messages with failover transport as the connection audit suppress duplicates feature is enabled for failover connections.
> When there are gaps in the message sequence that span the audit window or when message ids are multiples of 64 the BitArrayBin that backs the AuditChecker gets out of sync and can report false positives, rejecting a duplicate message in error.
> If it is suspected, enable log4j.logger.org.apache.activemq.ActiveMQMessageConsumer=TRACE to see an event when a duplicate is recieved.

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


[jira] Resolved: (AMQ-1742) False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer

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

Rob Davies resolved AMQ-1742.
-----------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

Patch applied in SVN revision 659082

> False positives from ConnectionAudit duplicateChecker when there are gaps in the message sequences received by a consumer
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1742
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1742
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>         Environment: all
>            Reporter: Gary Tully
>            Assignee: Rob Davies
>             Fix For: 5.2.0
>
>         Attachments: AMQ-1742.patch
>
>
> a consumer can miss messages with failover transport as the connection audit suppress duplicates feature is enabled for failover connections.
> When there are gaps in the message sequence that span the audit window or when message ids are multiples of 64 the BitArrayBin that backs the AuditChecker gets out of sync and can report false positives, rejecting a duplicate message in error.
> If it is suspected, enable log4j.logger.org.apache.activemq.ActiveMQMessageConsumer=TRACE to see an event when a duplicate is recieved.

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