Fence the Retired Writer
Hard About 50 min Katabench Pro
An old process wakes after cutover and overwrites recovered data. Enforce shared ownership epochs at the target.
The full brief is part of Katabench Pro
Pro opens this kata's brief and its grader. To see how the track works first, try Handle Celebrity Fan-out, which is free with an account.
How it is graded
You build the design on a canvas, and Katabench checks the topology against the challenge's design rules.
What it practices
- Leases and ownership
- Grant time-bounded ownership of work or a resource, with fencing tokens so a stale owner cannot act.
- Replication and failover
- Survive a database loss with replicas and failover, fencing stale writers out.
- Disaster recovery
- Backups, restores, snapshots and replay, reconciled before any cutover.
Related katas
- Claim the Front Row Hard Pro 20,000 claims in ten seconds pile up on a few hundred row locks, and fans buying in other stands time out too. Keep a hot stand from stalling the sale.
- Keep Erased Data Erased Hard Pro Keep current erasure decisions in every historical restore path so an old backup cannot resurrect deleted data.
- Operate the Onsale Hard Pro The provider slows down, no component fails, and the sale still gets worse for 20 minutes. Rebuild the onsale so the next slowdown does not snowball.
- Reconcile Before Cutover Hard Pro A rebuild completes with plausible but wrong totals. Require independent reconciliation before changing report routing.