Release Redis locks only while the caller still owns them #156
Reference in New Issue
Block a user
Delete Branch "benvin/owner-token-locks"
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?
AcquireLock stored a constant value and ReleaseLock was an unconditional DEL, so a holder that outlived its TTL deleted the next holder's lock. This hits Fetch, Evict and gems push/yank.
lock: %v), contradicting the "generic messages" goal → return a fixed string and slog the error.