-
Notifications
You must be signed in to change notification settings - Fork 187
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
Detect and handle stale locks #124
Comments
You're right, this would be a very useful enhancement. Not sure I will be able to look into implementing it soon. Anyone feel free to propose a pull request before I do 😉 |
Regarding the second expected behavior, the script does send an email but not the other notification methods (e.g. slack). @zertrin, maybe we should simply add |
I fully agree. I'll look into this |
I did just what @jarondl suggested above and nothing more. I have two enhancements in mind:
I let those two for later. However, regarding item 1 I don´t figured out the best way to do this, I think it may require a refactoring of |
How do you deal with rebooting the server you're backing up? Each time that I do, it's halfway through the last backup causing it to never start back up since the lockfile still exists. |
It doesn't happen to me since my backup doesn't last that long and I'm never rebooting around the time where my backup is running. Locking mechanisms are hard to get right and can be annoying. Still didn't found the time to implement a solution, but I welcome contributions that aim at doing locking "the right way" (probably with a PID check somewhere). |
Observed behavior
lock held by XXXX
Expected behavior
OR
Logs
The text was updated successfully, but these errors were encountered: