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

Feature request: Better handling of corrupted database #3160

Open
marcinstrzelczyk opened this issue Nov 7, 2024 · 0 comments
Open

Feature request: Better handling of corrupted database #3160

marcinstrzelczyk opened this issue Nov 7, 2024 · 0 comments
Labels
Status: Available No one has claimed responsibility for resolving this issue.

Comments

@marcinstrzelczyk
Copy link

Hello,
I've experienced mosquitto database corruption which I've described in #3159.

In this issue I would like to focus on how mosquitto handles the corrupted database.

Right now it logs the error and exits, which for me is much worse than the corrupted database itself. I could live with very rare data loss, but if mosquitto fails to start, that's a much bigger problem.

For me it would be much better if mosquitto started with an empty database, if the existing one becomes corrupted. Would it be possible to implement such behavior? It could be configurable in mosquitto.conf to support both existing behavior and the new one.

@github-actions github-actions bot added the Status: Available No one has claimed responsibility for resolving this issue. label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Available No one has claimed responsibility for resolving this issue.
Projects
None yet
Development

No branches or pull requests

1 participant