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

Cleanup of locks #55

Open
dgoetz opened this issue Jan 28, 2020 · 0 comments
Open

Cleanup of locks #55

dgoetz opened this issue Jan 28, 2020 · 0 comments

Comments

@dgoetz
Copy link
Contributor

dgoetz commented Jan 28, 2020

It would be create if dlm could clean up its data.

On the one side we have the locks itself which get autocreated but never cleaned up. It would be good to have a setting to delete them after a fixed time if the lock was not used (updated_at) and is not acquired (host_id). If you are willing for an even more complex logic it could query if no host exists any longer which had acquired the lock in the past.

On the other side is the history for the lock which also grows infinitely which should be limited by time and / or number of entries.

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

1 participant