Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 19164 invoked from network); 19 Jan 2010 12:49:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2010 12:49:07 -0000 Received: (qmail 88969 invoked by uid 500); 19 Jan 2010 12:49:07 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 88902 invoked by uid 500); 19 Jan 2010 12:49:06 -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 88891 invoked by uid 99); 19 Jan 2010 12:49:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 12:49:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 12:49:04 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6BDD2234C045 for ; Tue, 19 Jan 2010 04:48:43 -0800 (PST) Message-ID: <1115648473.5441263905323435.JavaMail.jira@brutus.apache.org> Date: Tue, 19 Jan 2010 12:48:43 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-2573) Failover with async rollback of message audit can lead to over eager duplicate suppression (auto acking) and apparent missing messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org Failover with async rollback of message audit can lead to over eager duplicate suppression (auto acking) and apparent missing messages -------------------------------------------------------------------------------------------------------------------------------------- Key: AMQ-2573 URL: https://issues.apache.org/activemq/browse/AMQ-2573 Project: ActiveMQ Issue Type: Bug Components: Broker Affects Versions: 5.3.0 Reporter: Gary Tully Assignee: Gary Tully Fix For: 5.4.0 with multiple unordered message consumers on a connection and failover with default prefetch recovery processing can lead to incorrect duplicate detection. Duplicates are expected as all unacked messages will be redelivered on recovery. An active consumer may have unconsumed messages which need to be rolled back in the message audit. currently this rollback is occurring at an indeterminate time w.r.t to future dispatch. given consumer 1 has unconsumed messages 0-10, consumer 2 11-20 etc.. all need to be rolled back prior to recovery of consumer 3 which may get an message in the range 0 - 20 delivered to it. Currently, rollbacks are done on the next delivery. All audit rollbacks need to be complete before any new delivery occurs on a recovered connection. The result of over eager duplicate suppression is missing messages as the duplicates are auto acked. Symptom: with debug logging on {code}log4j.logger.org.apache.activemq.ActiveMQMessageConsumer=DEBUG{code} it is possible to catch the duplicate suppression. If your missing messages are in this set, you may have this problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.