[
https://issues.apache.org/jira/browse/AMQ-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Tully resolved AMQ-3532.
-----------------------------
Resolution: Fixed
Assignee: Gary Tully
resolved in http://svn.apache.org/viewvc?rev=1181112&view=rev
duplicate cursor remove was leaving decrementing size twice. Additionally,
there was contention from doing expiry from a recovery listener.
> expiry of offline durable subscription on activation can lead do duplicate
> expiry processing and negative pending cursor size
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-3532
> URL: https://issues.apache.org/jira/browse/AMQ-3532
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.5.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Labels: durable, expiry
> Fix For: 5.6.0
>
>
> The durable subscription cursor pending message count can go negative and
> prevent dispatch of later unexpired messages. Also, contention between
> dispatch and the expiry task can lead to blocked dispatch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira