Description
Issue
Retained message is not persisted (after restart?)
Steps to reproduce
- Client c1 connects and publishes a message m1 to topic t1 with retain: true and QoS: 2. Client then disconnects.
- Client connect (with same clientId or different, both works) and c1 subscribes to t1. c1 recieves m1.
However, if the broker is restarted and step 2 is re-run, the m1 is never recieved.
Shouldn't a retained message with QoS-2 be persisted and send to clients even after restart?