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: Database repair/cleanup options #11

Open
uyjulian opened this issue May 28, 2024 · 2 comments
Open

Feature: Database repair/cleanup options #11

uyjulian opened this issue May 28, 2024 · 2 comments

Comments

@uyjulian
Copy link

Add an option to periodically cleanup/reset the litedb database on certain conditions.
The ones I mostly care about are on startup, on repair flag set (due to database corruption detected on runtime).

@Nihlus
Copy link
Owner

Nihlus commented Jun 17, 2024

Could you give any specific examples of the conditions under which you'd need to repair the database? It's not something that's generally doable while the server is online and requires a restart either way, so I'm curious if we can solve your problems some other way.

@uyjulian
Copy link
Author

I'm not really concerned about repairing the database, but more detecting the condition that the database is corrupted and automatically deleting it.

This is mainly prompted by constant LiteDB error spews on my instance

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

2 participants