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/01/13 16:21:43 UTC

[jira] Resolved: (AMQ-2566) Rollback redelivery causes inflight count to get out of sync

     [ https://issues.apache.org/activemq/browse/AMQ-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-2566.
-----------------------------

    Resolution: Fixed

resolved in r898797

> Rollback redelivery causes inflight count to get out of sync
> ------------------------------------------------------------
>
>                 Key: AMQ-2566
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2566
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.0
>         Environment: any
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.4.0
>
>
> A negative inflight count can result from rollback redelivery as each rollback decremented the inflight count
> With a 0 maxRedeliveryAttempts policy, the poisonAck was incrementing inflight.
> poisinAck should manage the inflight as they are still present (inflight) in the consumer till they are acked via commit or a poisonAck.
> adding some asserts to the existing DeadLetterTest junit demonstrates the problem.

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