activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-2334) getJMSRedelivered() incorrectly returns false after a MasterSlave failover
Date Fri, 01 Apr 2011 11:22:19 GMT

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

Gary Tully updated AMQ-2334:
----------------------------

    Fix Version/s:     (was: 5.5.0)
                   5.6.0

> getJMSRedelivered() incorrectly returns false after a MasterSlave failover
> --------------------------------------------------------------------------
>
>                 Key: AMQ-2334
>                 URL: https://issues.apache.org/jira/browse/AMQ-2334
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: Kyle Anderson
>             Fix For: 5.6.0
>
>         Attachments: SanRedeliver.java
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Shared master/slave setup, described here http://activemq.apache.org/shared-file-system-master-slave.html
> Scenario:
> 1. Transacted consumer receives a message
> 2. Transacted consumer disconnects prior to committing
> 3. Transacted consumer #2 receives the same message.
> Normally consumer #2 sees that message as getJMSRedelivered() = true.  However, if the
broker fails and another takes over from the data dir between step 1 and 3, the redelivery
is set as false - even though a consumer has, in fact, seen the message before.  See attached
unit test.

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

Mime
View raw message