Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 33747200C1D for ; Wed, 1 Feb 2017 16:10:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 321FF160B43; Wed, 1 Feb 2017 15:10:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 825D5160B44 for ; Wed, 1 Feb 2017 16:10:58 +0100 (CET) Received: (qmail 58408 invoked by uid 500); 1 Feb 2017 15:10:57 -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 58399 invoked by uid 99); 1 Feb 2017 15:10:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2017 15:10:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 33A4CC0115 for ; Wed, 1 Feb 2017 15:10:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id CD5NmuABrNcz for ; Wed, 1 Feb 2017 15:10:56 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 23DF75FB12 for ; Wed, 1 Feb 2017 15:10:56 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4C430E0312 for ; Wed, 1 Feb 2017 15:10:52 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8A7A52528B for ; Wed, 1 Feb 2017 15:10:51 +0000 (UTC) Date: Wed, 1 Feb 2017 15:10:51 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6587) Failed to remove inactive destination Topic: Destination still has an active subscription MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Feb 2017 15:10:59 -0000 [ https://issues.apache.org/jira/browse/AMQ-6587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848473#comment-15848473 ] ASF subversion and git services commented on AMQ-6587: ------------------------------------------------------ Commit e415d2921ec7eabeccdf7db4d1850caa68486de3 in activemq's branch refs/heads/master from [~gtully] [ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=e415d29 ] [AMQ-6587] ensure subs added to new destination before destination is exposed in the destination map. sort gc contention with wildcard subs and anonymous publish. fix and test > Failed to remove inactive destination Topic: Destination still has an active subscription > ----------------------------------------------------------------------------------------- > > Key: AMQ-6587 > URL: https://issues.apache.org/jira/browse/AMQ-6587 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Reporter: Gary Tully > Assignee: Gary Tully > > broker setSchedulePeriodForDestinationPurge, wildcard topic subscriber and anonymous publishers to new destinations. > Race between addDestination and markForGc and canGc > {code} > ERROR region.RegionBroker: Failed to remove inactive destination Topic: destination=A.4725, subscriptions=1 > javax.jms.JMSException: Destination still has an active subscription: topic://A.4725 > at org.apache.activemq.broker.region.AbstractRegion.removeDestination(AbstractRegion.java:271) > at org.apache.activemq.broker.region.RegionBroker.removeDestination(RegionBroker.java:354) > at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:179) > at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:179) > at org.apache.activemq.broker.BrokerFilter.removeDestination(BrokerFilter.java:179) > at org.apache.activemq.broker.region.RegionBroker.purgeInactiveDestinations(RegionBroker.java:897) > at org.apache.activemq.broker.region.RegionBroker$1.run(RegionBroker.java:118) > at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)