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

Thomas Wood commented on ARTEMIS-2476:
--------------------------------------

We experience this all the time and are relying on a custom ping to help delay 
the restart of the master.
Maybe a time setting to delay the restart would help with this?

> New MQTT subscriptions receive older (not last published) retained message.
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2476
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2476
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.10.0, 2.10.1
>            Reporter: Assen Sharlandjiev
>            Priority: Blocker
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I have observed that new MQTT subscriptions on a given topic, receive older 
> retained messages. Instead of getting the latest retained message published 
> on the topic, the new subscription received an older message, published 
> before that last one. 
>  
> I have created a [mqtt-test|https://github.com/assens/mqtt-test] project that 
> demonstrated the problem.  Check the readme, and run the Artemis broker test:
>  
> mvn -Dtest=ArtemisTest verify
>  
>  The test project contains multiple MQTT brokers tests. Only Artemis broker 
> tests fail.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to