SIGKILL used instead of SIGTERM when force-killing backup process #5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SIGKILL used instead of SIGTERM when force-killing backup process
Priority: High
Component: backup.py
Type: Bug
Description
When the
--forceflag is used and a previous backup is still running, the code sendsSIGKILLto terminate it. This doesn't allow the previous process to clean up resources, release locks, or remove incomplete backups.Location
curateipsum/backup.py:128Current Code
Problem
SIGKILL(signal 9) cannot be caught or ignored by the process, preventing graceful cleanup. This could leave:Proposed Solution
Send
SIGTERMfirst, wait briefly, then escalate toSIGKILLif needed:Impact
High - Current behavior can leave backup directory in inconsistent state.