Skip to content
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

Will message not removed from persistence after publish #180

Closed
emilianobonassi opened this issue Dec 28, 2017 · 6 comments
Closed

Will message not removed from persistence after publish #180

emilianobonassi opened this issue Dec 28, 2017 · 6 comments

Comments

@emilianobonassi
Copy link
Contributor

I'm experiencing this issue that it's causing db size to grow.

I see that in the client finish logic the LWT is not deleted.

The spec imposes it in the mandatory normative statement MQTT-3.1.2-10.

Is it a desidered behaviour or I'm missing something?

@GavinDmello
Copy link
Collaborator

@emilianobonassi what persistence are you using ?

@emilianobonassi
Copy link
Contributor Author

aedes-persistence-redis

@GavinDmello
Copy link
Collaborator

Nice catch!

@emilianobonassi
Copy link
Contributor Author

Thanks @GavinDmello.

To be clear, the issue doesn't depend on the particular version of aedes-persistence used.

@GavinDmello
Copy link
Collaborator

Yep. I can confirm that .

@behrad
Copy link
Collaborator

behrad commented Dec 28, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants