Part 08 / Topic 6 of 7
Recovering from failure
Failures are not exceptional — the network drops mid-load, the API 500s at page 40, the disk fills. Design so the answer to every failure is the same: run it again.
- Because the load is an upsert, re-running cannot duplicate rows (Part 7).
- Because the watermark is saved only after a successful load, re-running cannot skip data.
- Because chunked backfills checkpoint, re-running resumes instead of restarting.
- Because partial loads are visible in the run report, you know that a run was partial — and the next run completes it.
When those four hold, the 3am page has a one-line runbook. That is not an accident; it is the sum of every design choice in this stage.
Done here? The practice set for Part 8 — 4 exercises with solutions — is on the part page.