Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5504A10359 for ; Wed, 7 Aug 2013 13:42:49 +0000 (UTC) Received: (qmail 87986 invoked by uid 500); 7 Aug 2013 13:42:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 87850 invoked by uid 500); 7 Aug 2013 13:42:48 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 87480 invoked by uid 99); 7 Aug 2013 13:42:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 13:42:48 +0000 Date: Wed, 7 Aug 2013 13:42:48 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-4665) Failover with client ack mode consumer can loose a message auto acked as a duplicate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully resolved AMQ-4665. ----------------------------- Resolution: Fixed fix in http://svn.apache.org/r1511307 auto ack on duplicate now replaced with poison ack with poison cause property set. Duplicates need to be flagged as problems in the normal case. Client ack mode now allows replay b/c consumed and undelivered are rolledback in a failover interrupt. > Failover with client ack mode consumer can loose a message auto acked as a duplicate > ------------------------------------------------------------------------------------ > > Key: AMQ-4665 > URL: https://issues.apache.org/jira/browse/AMQ-4665 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.8.0 > Reporter: Gary Tully > Assignee: Gary Tully > Labels: clientAck, duplicate, failover > Fix For: 5.9.0 > > > with a client ack consumer and failover after receipt but before message.ack can result in a missed message when the message is redispatched and auto acked as a duplicate. > Failover interrupt should clear dispatched and unconsumed messages so that they can get redelivered. > auto-acking a duplicate seems over eager. think best to poison pill and now that we can include a cause property it will be possible to differentiate. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira