New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mosquitto persistence problem #2224
Comments
Thanks for the details. Your persistence file has two clients in it,
What problems are you having with bridges and persistence in version 2? |
@ralight thank you very much for reply.
At the moment I have implemented a different solution.
After finalizing the fix, I went back to look at the issues with version 2.0.X related to bridge and persistence. bridgeRegarding the bridge, actually everything seems to be working, persistenceInstead, persistence still doesn't work. The configuration is the same as described above. steps to reproduce the problem:
I don't see any evidence of the message in the db or on rabbit. |
Thank you - it is the |
Use case:
mqtt client -> mosquitto -> bridge -> rabbitmq
mosquitto persistence enabled
Issue description:
Under particular conditions the file mosquitto.db starts to increase in size, even though the bridge is working properly.
This behavior is triggered by changing the
remote_clientid
configuration parameter.In fact, if the mosquitto.db file has already been created, changing the parameter causes the following behavior:
I am attaching a mosquitto.db file that has this problem, although it is very simple to reproduce from scratch.
This is the link
We used the mosquitto_db_dump tool to understand what was in the db, using the command:
obtaining:
Is there a parameter that correctly set solves this problem?
Enviroment:
mosquitto.conf
Additional attempts
We have tried to use also the new version 2.0.X with the same configuration but:
The text was updated successfully, but these errors were encountered: