[
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.