Distributed Systems

Expired lock holder resumes

Why it happens

A process pauses past its lease while another acquires it.

Potential bug

Both mutate the resource.

Mitigation

Prefer database ownership; if a lease is unavoidable, use monotonic fencing checked by the resource.

See it in context