FAILURE MAP
← Case archive

FA-058 / Distributed coordination / Member archive

A stale renewal extends a later incarnation of a lease · case 03

A delayed renewal is accepted after the same worker name has reacquired the lease.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

A lease is [owner,generation,deadline]. A renewal names [owner,generation], now and nonnegative duration. If ownership matches and now < deadline, return a new deadline now+duration; otherwise return the unchanged lease. This models an atomic compare-and-swap at one authoritative clock.

Why this case matters

Models lease ABA during worker restarts and delayed network deliveries without assuming synchronized client clocks or implementing a complete distributed lease protocol.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
previous incarnation renewal["worker", 4, 120]["worker", 4, 103]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗