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 C8B3610DCB for ; Thu, 29 Jan 2015 06:39:34 +0000 (UTC) Received: (qmail 47957 invoked by uid 500); 29 Jan 2015 06:39:34 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 47823 invoked by uid 500); 29 Jan 2015 06:39:34 -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 47534 invoked by uid 99); 29 Jan 2015 06:39:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 06:39:34 +0000 Date: Thu, 29 Jan 2015 06:39:34 +0000 (UTC) From: "Anuj Khandelwal (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-5540) KahaDB can't fail over to the slave if the master is unable to write to disk 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-5540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296454#comment-14296454 ] Anuj Khandelwal commented on AMQ-5540: -------------------------------------- I have updated the details. Can you check now ? > KahaDB can't fail over to the slave if the master is unable to write to disk > ---------------------------------------------------------------------------- > > Key: AMQ-5540 > URL: https://issues.apache.org/jira/browse/AMQ-5540 > Project: ActiveMQ > Issue Type: Bug > Components: Broker, Message Store > Affects Versions: 5.10.0 > Environment: Using Master-slave topology with shared kahadb. > Using KahaDB on NFS. > Reporter: Anuj Khandelwal > Attachments: ActiveMQ_config.xml, Logs.txt > > > This is coming from http://activemq.2283324.n4.nabble.com/kahadb-corruption-quot-Checkpoint-failed-java-io-IOException-Input-output-error-quot-td4690378.html#a4690442 . > Scenario : We had some failure on filer because of which applications (ActiveMQ) was not able to read/write on kahadb. I have attached the logs to see the details. Master broker was not completely killed. Master has stopped it's transport connectors and plugins but it didn't release it's lock from the kahadb. I have checked from "ps" command that master broker was running. And since master didn't release the lock on kahadb, slave broker was not able to acquire the lock. > Master broker should shutdown properly in such cases and let the slave take over the persistence store. > Thanks, > Anuj -- This message was sent by Atlassian JIRA (v6.3.4#6332)