-
Notifications
You must be signed in to change notification settings - Fork 71
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
Forget after backup - stalls #168
Comments
I also run into this issue. |
I have the same issue. My container is constantly restarting due to this. |
I fixed it by doing a manual unlock, now the forget / prune works as expected. |
Yeah that's the only way I fix it as well. Ideally a retry or something would be handy. |
Not sure if a retry is always the right thing to do here. I have situations where a long running prune is still ongoing or even crashed. That's when waiting does not solve the problem, but you need to manually unlock. I think the forget is not that important. If it fails, the container should just go back to its schedule and wait for the next backup cron trigger. IMO. |
Would it be possible to add an unlock on a schedule? |
Yes it will, but even the next or any forget after the first failed one does not work. You really should manually unlock before the next forget will work once or twice and it goes back to staying locked. Is it not possible to throw a unlock before the forget command comes through? |
I think I don't really understand. @thierrybla If your repository stays lock every few runs, something is broken in your setup. Maybe you have prunes running in parallel while trying to backup/forget? |
I am not sure what I am doing wrong or how to debug it. I am running one container with the following flags: Any idea on how to debug this? |
Trying to resolve this situation, this is a forget running after a backup. So it doesn't tend to execute the post_command in this situation. When this scenario occurs, does it attempt to retry, or will complete at some point?
The text was updated successfully, but these errors were encountered: