You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/02/07 21:20:00 UTC
[jira] [Commented] (ARTEMIS-2081) When config reload occurs with
deletion policy enabled, queues not created by broker xml are removed
[ https://issues.apache.org/jira/browse/ARTEMIS-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763087#comment-16763087 ]
ASF subversion and git services commented on ARTEMIS-2081:
----------------------------------------------------------
Commit 6455990d4f34b5dad4e02ac43ec49f2a9468d0a3 in activemq-artemis's branch refs/heads/2.6.x from Michael André Pearce
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=6455990 ]
ARTEMIS-2081 listConfiguredQueues returns only queues created by config
Extend test case to reproduce problem of client created queues being incorrectly removed on simple reload of config.
Add a flag/field to the queues created by configuration/broker.xml so we can correctly filter only queues created/managed by config.
Update listConfiguredQueues to use the new queue flag
> When config reload occurs with deletion policy enabled, queues not created by broker xml are removed
> ----------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-2081
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2081
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Michael Andre Pearce
> Assignee: Michael Andre Pearce
> Priority: Major
> Fix For: 2.7.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> This is related to feature https://issues.apache.org/jira/browse/ARTEMIS-1235
> listConfiguredQueues was meant to return queues which are managed by broker xml, the intent is where a queue was created by a client (e.g. you configure durable queues, but allow clients to make non-durable queues still) on reload where the address exists, but the queue is not present, it would only remove queues that are being managed by broker.xml
> unfortunately this is not returning only queues that are created/managed by broker.xml, meaning on broker reload and the address is present, queues created by clients get un-expectedly removed.
> We need to track/mark queues explicitly that are created by configuration (broker.xml) and update the filter to use this new flag, to ensure only those are touched.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)