You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2010/12/29 15:27:45 UTC

[jira] Created: (AMQ-3106) Failover with a durable consumer can lose Messages

Failover with a durable consumer can lose Messages
--------------------------------------------------

                 Key: AMQ-3106
                 URL: https://issues.apache.org/jira/browse/AMQ-3106
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.4.2, 5.4.1, 5.4.0
            Reporter: Timothy Bish
             Fix For: 5.5.0
         Attachments: FailoverDurableWithOutstandingAck.java

When a client with a durable consumer loses its connection to the broker and reconnects using the failover transport it does not receive any Messages that it had not ack'd before it failed.

Testing shows that older client's that don't recover their Consumers by sending a ConsumerInfo command with a zero prefecth followed by a ConsumerControl Command with the old prefetch value recover their unacknowledged messages.  

Test case attached

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


[jira] [Updated] (AMQ-3106) Failover with a durable consumer can lose Messages

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

Gary Tully updated AMQ-3106:
----------------------------

    Fix Version/s:     (was: 5.5.0)
                   5.6.0

> Failover with a durable consumer can lose Messages
> --------------------------------------------------
>
>                 Key: AMQ-3106
>                 URL: https://issues.apache.org/jira/browse/AMQ-3106
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.0, 5.4.1, 5.4.2
>            Reporter: Timothy Bish
>             Fix For: 5.6.0
>
>         Attachments: FailoverDurableWithOutstandingAck.java
>
>
> When a client with a durable consumer loses its connection to the broker and reconnects using the failover transport it does not receive any Messages that it had not ack'd before it failed.
> Testing shows that older client's that don't recover their Consumers by sending a ConsumerInfo command with a zero prefecth followed by a ConsumerControl Command with the old prefetch value recover their unacknowledged messages.  
> Test case attached

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (AMQ-3106) Failover with a durable consumer can lose Messages

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

Timothy Bish updated AMQ-3106:
------------------------------

    Attachment: FailoverDurableWithOutstandingAck.java

> Failover with a durable consumer can lose Messages
> --------------------------------------------------
>
>                 Key: AMQ-3106
>                 URL: https://issues.apache.org/jira/browse/AMQ-3106
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.0, 5.4.1, 5.4.2
>            Reporter: Timothy Bish
>             Fix For: 5.5.0
>
>         Attachments: FailoverDurableWithOutstandingAck.java
>
>
> When a client with a durable consumer loses its connection to the broker and reconnects using the failover transport it does not receive any Messages that it had not ack'd before it failed.
> Testing shows that older client's that don't recover their Consumers by sending a ConsumerInfo command with a zero prefecth followed by a ConsumerControl Command with the old prefetch value recover their unacknowledged messages.  
> Test case attached

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


[jira] [Closed] (AMQ-3106) Failover with a durable consumer can lose Messages

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

Timothy Bish closed AMQ-3106.
-----------------------------

    Resolution: Not A Problem
    
> Failover with a durable consumer can lose Messages
> --------------------------------------------------
>
>                 Key: AMQ-3106
>                 URL: https://issues.apache.org/jira/browse/AMQ-3106
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.0, 5.4.1, 5.4.2
>            Reporter: Timothy Bish
>             Fix For: 5.x
>
>         Attachments: FailoverDurableWithOutstandingAck.java
>
>
> When a client with a durable consumer loses its connection to the broker and reconnects using the failover transport it does not receive any Messages that it had not ack'd before it failed.
> Testing shows that older client's that don't recover their Consumers by sending a ConsumerInfo command with a zero prefecth followed by a ConsumerControl Command with the old prefetch value recover their unacknowledged messages.  
> Test case attached

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