jbertram opened a new pull request, #6093:
URL: https://github.com/apache/activemq-artemis/pull/6093

   This commit ensures that MQTT 5 sessions using a session expiry interval of 
0 are cleaned up after a broker restart. This includes:
   
    - Serialized state message in the $sys.mqtt.sessions queue
    - Any related $sys.mqtt.queue.qos2 queues
    - Any related subscription queues
   
   To be clear, we can't simply inspect the session expiry interval when the 
session is created and make subscription queues non-durable because the session 
expiry interval can be changed on the session with the DISCONNECT packet at 
which point it would be impossible to potentially make the queue durable and 
persist all the messages.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to