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

Handling of outdated lock files #309

Open
johntruckenbrodt opened this issue May 14, 2024 · 0 comments
Open

Handling of outdated lock files #309

johntruckenbrodt opened this issue May 14, 2024 · 0 comments

Comments

@johntruckenbrodt
Copy link
Owner

#294 saw the introduction of a lock mechanism. It may occur, that lock files are not properly deleted by the process that created them. For example when the process is killed by a HPC job manager.
There has to be a mechanism that enables their deletion. For example, write the timeout time to the file so that another process can read the value and check whether the file is older than the timeout time and then delete it. For this to work, the Lock class has to raise an error when the timeout is reached. Currently the timeout only applies to wait time for acquiring a lock, not to the existence of the lock file itself.

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