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 GitHub Bot (Jira)" <ji...@apache.org> on 2025/06/03 19:13:00 UTC

[jira] [Work logged] (ARTEMIS-5499) Refactor MQTT subscription persistence

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

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

                Author: ASF GitHub Bot
            Created on: 03/Jun/25 19:12
            Start Date: 03/Jun/25 19:12
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on PR #5715:
URL: https://github.com/apache/activemq-artemis/pull/5715#issuecomment-2936798543

   @clebertsuconic, I think this is ready to merge. Can you give it a review?




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

    Worklog Id:     (was: 971698)
    Time Spent: 4h 20m  (was: 4h 10m)

> Refactor MQTT subscription persistence
> --------------------------------------
>
>                 Key: ARTEMIS-5499
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5499
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> The current way the broker persists MQTT subscription data has the potential to starve the broker of threads. It also leads to timeouts like this under load:
> {noformat}
>   java.lang.IllegalStateException: AMQ850000: Unable to store MQTT state within given timeout: 5000ms
> 	at org.apache.activemq.artemis.core.protocol.mqtt.MQTTStateManager.storeSessionState(MQTTStateManager.java:192)
> 	at org.apache.activemq.artemis.core.protocol.mqtt.MQTTSubscriptionManager.addSubscriptions(MQTTSubscriptionManager.java:334){noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact