mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 12:04:41 +01:00
Move the observed owner record out of the lock before deleting it so competing stale-lock recovery cannot remove a replacement owner's lock. Apply the same atomic claim to normal release and cover eight concurrent stale-lock contenders. Co-Authored-By: Paperclip <noreply@paperclip.ing>