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 030AE8B92 for ; Tue, 30 Aug 2011 09:11:26 +0000 (UTC) Received: (qmail 93512 invoked by uid 500); 30 Aug 2011 09:11:25 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 93257 invoked by uid 500); 30 Aug 2011 09:11:16 -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 93242 invoked by uid 99); 30 Aug 2011 09:11:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 09:11:11 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 09:10:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CC0D8D706F for ; Tue, 30 Aug 2011 09:10:37 +0000 (UTC) Date: Tue, 30 Aug 2011 09:10:37 +0000 (UTC) From: "Sree Panchajanyam D (JIRA)" To: dev@activemq.apache.org Message-ID: <1130885056.6847.1314695437832.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <940763781.10983.1300421909630.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3226) persistent messages expire without being saved to ActiveMQ.DLQ if a master-to-slave failover took place - issue with JDBC master-Slave cluster 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-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093566#comment-13093566 ] Sree Panchajanyam D commented on AMQ-3226: ------------------------------------------ Have you configured discard DLQ plugin ? Please have a look at this page for DLQ handling http://activemq.apache.org/message-redelivery-and-dlq-handling.html > persistent messages expire without being saved to ActiveMQ.DLQ if a master-to-slave failover took place - issue with JDBC master-Slave cluster > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-3226 > URL: https://issues.apache.org/jira/browse/AMQ-3226 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.4.2 > Environment: Sun Solaris + JDK 1.6 > a JDBC cluster of 2 nodes running apache-activemq-5.4.2-fuse-01-00 > using MS SQL Server 2008 as a database for JDBC > Reporter: Oleg Kiorsak > Priority: Critical > > Setup : > Sun Solaris + JDK 1.6 > a JDBC cluster of 2 nodes running apache-activemq-5.4.2-fuse-01-00 > using MS SQL Server 2008 as a database for JDBC > 1. 1 client (NMS STOMP , if that is any relevant) sends 10 persistent messages with TTL set to 5 mins > 2. after all messages have been sent and seen in the destination queue (via SQL query) > but well before the time message are about to even start expirying > do a 'kill -KILL' of the activemq process on node1 ("master") - so 'failover' take place > - node2 ("slave") now becomes new "master" and resumes connections/etc > 3. in 5 mins time all 10 messages sitting in the destination queue do expire, > but they do NOT end up in ActiveMQ.DLQ as they should... > this is really bad - > basically the failover event breaks the promise of "guaranteed" delivery of persistent messages -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira