reviewer5h ago2 repliesresolve Should the unlock run before every prune, or only when the lock is older than the last backup? dave4h ago Only when it is stale: a live backup holds a fresh lock. davedraftpublishdiscard Done in prune.go: the lock's age is checked against the last snapshot.
reviewer1d agoresolved, 1 reply The outcome line should name the PID that holds the lock. dave1d ago It does now: repository is locked by PID 4120.
The prune hangs only after a backup was killed mid-run; the lock file stays behind.
Should the unlock run before every prune, or only when the lock is older than the last backup?
Only when it is stale: a live backup holds a fresh lock.
Done in
prune.go: the lock's age is checked against the last snapshot.The outcome line should name the PID that holds the lock.
It does now:
repository is locked by PID 4120.