[ 
https://issues.apache.org/jira/browse/ARTEMIS-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763088#comment-16763088
 ] 

ASF subversion and git services commented on ARTEMIS-2081:
----------------------------------------------------------

Commit efa48c9782d5e6b91dcdb59949d4ac58c8df1db8 in activemq-artemis's branch 
refs/heads/master from Michael André Pearce
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=efa48c9 ]

ARTEMIS-2081 listConfiguredQueues returns only queues created by config

Move configuration managed in persister before consumer dispatch so then the 
fix can be applied in 2.6.x branch safely.


> 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: 2h
>  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)

Reply via email to