Skip to content
Katabench
Try free

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.

System Design Studio →

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