[
https://issues.apache.org/jira/browse/ARTEMIS-5499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-5499.
-------------------------------------
Fix Version/s: 2.42.0
Resolution: Fixed
> 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
> Fix For: 2.42.0
>
> Time Spent: 4h 40m
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact