Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E5AB18829 for ; Fri, 11 Dec 2015 16:18:11 +0000 (UTC) Received: (qmail 14355 invoked by uid 500); 11 Dec 2015 16:18:11 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 14210 invoked by uid 500); 11 Dec 2015 16:18:11 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 13945 invoked by uid 99); 11 Dec 2015 16:18:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2015 16:18:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F09EF2C1F5C for ; Fri, 11 Dec 2015 16:18:10 +0000 (UTC) Date: Fri, 11 Dec 2015 16:18:10 +0000 (UTC) From: "Gary Tully (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-6086) Broker stop and start are not at all thread safe - we can do better MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gary Tully created AMQ-6086: ------------------------------- Summary: Broker stop and start are not at all thread safe - we can do better Key: AMQ-6086 URL: https://issues.apache.org/jira/browse/AMQ-6086 Project: ActiveMQ Issue Type: Bug Components: Broker Affects Versions: 5.13.0 Reporter: Gary Tully Fix For: 5.14.0 If one thread starts a broker and a second tries to stop we can get in a mess. Particularly if there is blocking or locking in the mix. In some cases we are ok but there is no determinism. In a simple case, the stop can complete before the start gets going at all and we miss the stop, leaving a dangling broker. -- This message was sent by Atlassian JIRA (v6.3.4#6332)