[ 
https://issues.apache.org/jira/browse/ARTEMIS-4145?focusedWorklogId=841973&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-841973
 ]

ASF GitHub Bot logged work on ARTEMIS-4145:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Jan/23 10:32
            Start Date: 27/Jan/23 10:32
    Worklog Time Spent: 10m 
      Work Description: gemmellr commented on PR #4346:
URL: 
https://github.com/apache/activemq-artemis/pull/4346#issuecomment-1406313148

   The last point of the [original changes 
description](https://github.com/apache/activemq-artemis/pull/2466) seems to be 
about why that code was added:
   >3.  For the MQTT protocol, there is one and only one consumer connection 
per queue, which is a good choice for closing the old MQTT consumer before the 
new MQTT consumer connects.
   The original code could not effectively clean up the 'old consumer' in the 
queue when the 'new MQTT connection' was connected to the Artemis broker. 
Modify ‘MQTTSubscriptionManager.removeSubscription’ to get the queue consumer 
collection from the ‘QueueImpl’ instance and close them.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 841973)
    Time Spent: 20m  (was: 10m)

> MQTT shared sub queue may be inadvertently removed
> --------------------------------------------------
>
>                 Key: ARTEMIS-4145
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4145
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to