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 35D39D6CA for ; Wed, 7 Nov 2012 16:22:07 +0000 (UTC) Received: (qmail 56454 invoked by uid 500); 7 Nov 2012 16:20:24 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 55671 invoked by uid 500); 7 Nov 2012 16:20:23 -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 53937 invoked by uid 99); 7 Nov 2012 16:19:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 16:19:11 +0000 Date: Wed, 7 Nov 2012 16:19:11 +0000 (UTC) From: "Martin Serrano (JIRA)" To: dev@activemq.apache.org Message-ID: <1865258346.81051.1352305151989.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (AMQ-4164) In network of master slave brokers, if both masters down, slaves incorrectly create treat each other as slaves MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Martin Serrano created AMQ-4164: ----------------------------------- Summary: In network of master slave brokers, if both masters down, slaves incorrectly create treat each other as slaves Key: AMQ-4164 URL: https://issues.apache.org/jira/browse/AMQ-4164 Project: ActiveMQ Issue Type: Bug Components: Transport Affects Versions: 5.7.0 Reporter: Martin Serrano When running a test with a network of master/slave brokers, I have both masters go down. In this case, the slaves are started and their respective network connections are started. The logic in {{TransportConnection.processBrokerInfo(BrokerInfo info)}}, checks if the info represents a slave broker and starts a MasterBroker filter if so. However this logic is faulty if the info for the slave broker is arriving via a network connection. As a result a slave tries to connect a networked broker as a slave. This results in incorrect behavior, errors, and can cause the system to lockup during shutdown (due to hanging ResponseCorrelation). -- 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