A configuration file records what a team intended the system to do. Whether the system does it, under the conditions the business will face, is a separate fact, and only a test under those conditions establishes it. Many reliability statements that reach a board or a regulator describe the first fact and are heard as the second.
GitLab’s database outage of 31 January 2017 is a public example many engineers know. After an engineer removed data on the primary database by mistake, GitLab’s postmortem reports that “the process of both finding and using backups failed completely”. The scheduled dumps ran pg_dump 9.2 against PostgreSQL 9.6, so each one stopped with an error, and the S3 bucket meant to hold them was empty. Disk snapshots were enabled for other servers and not for the database. Replication was set up for failover, and it had already broken.
GitLab restored from an LVM snapshot an engineer had taken by hand about six hours earlier, lost about six hours of database changes, and needed around 18 hours to finish the restore. Every one of those mechanisms had been configured, and none had been tested by restoring from it. Asked why, the postmortem answers: “there was no ownership, as a result nobody was responsible for testing this procedure.” A line quoted in Google’s SRE book makes the same point: “No one really wants to make backups; what people really want are restores.”
The method in this note is short. Bound the claim, classify the evidence behind it, set pass criteria before the test, record the result with its limits, and decide on business exposure and evidence confidence as two separate questions.
Where configured and working diverge
Configuration fails to predict behavior in a few recurring ways. Each one is invisible in the configuration itself and shows only when the capability runs under the conditions it was meant for.
| Capability | What the configuration leaves open | Evidence that closes the gap |
|---|---|---|
| Backups | Whether a restore completes, how long it takes at today’s data size, and whether the copy is consistent for the application | A timed restore into an isolated environment, followed by application-level checks |
| Autoscaling | Quotas, address space and node capacity that cap the maximum, and scale-up time (node provisioning, image pull, warm-up) against how fast traffic rises | A load test that ramps at the expected rate and reaches the planned maximum |
| Multi-zone deployment | Single-zone parts of the path: a NAT gateway, a cache primary, a zonal volume | An exercise that removes one zone’s capacity and its network path |
| Timeouts and retries | How the values combine across layers: a client that waits longer than its server, retries at several layers that multiply load during a slowdown | Added latency on one dependency, with load measured at each layer |
| Alerting | Whether the alert fires on the failure that matters and reaches someone who acts | A deliberate failure followed through to an acknowledgement |
The GitLab postmortem also shows a gap the table cannot: a mechanism that fails silently. The backup job did report its errors by email, but “DMARC was not enabled for the cronjob emails, resulting in them being rejected by the receiver”, so the team “were never aware of the backups failing”. A failing backup with no working alert looks exactly like a working one until the day of the restore.
Bound the claim
A capability statement becomes testable when it names an outcome, a scenario and an objective. “We have backups” names a mechanism. “We can restore accepted orders and their payment status to a consistent point within two hours after losing the primary region” names a capability someone can test. It also raises the questions the first sentence hid: which data, consistent with what, and measured from when.
A bounded claim records five things:
- Outcome: the business result that must hold, such as an order accepted and paid exactly once.
- Scenario: the condition the claim covers, such as peak load at a stated rate, the loss of a zone, a provider slowing to a stated latency, or corrupt data found six hours late.
- Objective: the measurable target agreed with the business owner: a recovery time, a data-loss window, a success rate.
- Dependencies in scope: what the claim relies on, including the parts the team does not operate, such as the identity provider, DNS, the payment provider and key management.
- Owner: the person who can say the claim holds and who acts when it does not.
Dependencies left out of scope stay in the record as exclusions. A recovery claim that excludes the identity provider is still useful, as long as nobody reads it as covering sign-in.
Classify the evidence
Evidence comes from five kinds of source. They describe where knowledge came from, and they do not rank it:
- Declared: stated in a document or by a responsible person.
- Observed: seen in a relevant production event, such as last year’s peak or a real zone outage.
- Tested: deliberately exercised.
- Inferred: concluded from other information, with the assumptions stated.
- Unknown: no evidence exists, or none could be found.
Three properties decide how much a piece of evidence supports a specific claim. Fidelity is how closely the conditions matched the scenario: environment, data volume, traffic shape, and whether dependencies were real or simulated. Recency is what has changed on the path since the evidence was produced. Independence is whether the evidence would still be correct if the system under judgment failed; a dashboard fed by the same service discovery that just broke has none.
These properties cut across the source types. An observed production peak can support a capacity claim better than a staging load test that simulated the payment provider. A test can support a claim less than a careful inference if it left out the one dependency the claim is about.
An Unknown source and an Unknown verification state are the same gap seen from two sides: with no evidence, the claim’s state can only be Unknown. Unknown describes what is known, never what is safe, and it never counts as low risk.
Set pass criteria before the test
A test is an activity. A verification is a conclusion about a claim, bounded by the scenario the test covered. A test can run without an error and verify nothing, because nobody wrote down beforehand which result would count as success. The Principles of Chaos Engineering put the same discipline first: “Start by defining ‘steady state’ as some measurable output of a system that indicates normal behavior.”
The people who own the outcome write the pass criteria before the test, in the units of the outcome: sign-ins completed, orders accepted, payments reconciled. Abort criteria are written at the same time, with the signal, the threshold and the person who stops the test.
A DNS cutover shows how much a configuration leaves out. The change is a single record that points the sign-in hostname at a new load balancer. The claim is that customers can still sign in during and after the change, and the record does not control most of what that claim depends on:
- Resolvers keep the old answer. Lowering the TTL helps only if it happens at least one old TTL before the switch, and some resolvers and clients hold answers longer than the TTL allows.
- Runtimes keep their own cache. The JVM caches successful lookups for the time set in
networkaddress.cache.ttl: 30 seconds by default in OpenJDK, and forever on older JDKs running with a security manager. A service that overrides the setting keeps the old address long after the record changed. - Open connections never look the name up again. HTTP/2 connections, WebSockets and connection pools keep using the old address until they reconnect, which for a mobile app can mean until the app restarts.
- The new endpoint has to match what clients expect: certificate names, cookie domains, and partner allowlists that reference addresses.
Pass criteria for this cutover could read: within ten minutes of the switch, 99% of synthetic sign-ins from the three resolver networks that matter to the business succeed on the new endpoint; signed-in users keep their sessions; the old endpoint keeps serving until its traffic reaches zero. The numbers are illustrative. They are written before the test starts, and the business owner agrees to them.
Record what the result supports
The record keeps the result and its limits in the same place. Summaries, handovers and status reports tend to drop the limits first, and a “Partially verified” that loses its second half reads as “Verified” by the next meeting.
Sign-in survives the DNS cutover to the new load balancer
Illustrative example — not a customer result- Claim
- Customers can sign in during the cutover and within ten minutes after it, from the three resolver networks the business serves.
- Scenario
- Rehearsal on the staging hostname with production TTLs lowered to 60 seconds two days before; synthetic sign-ins every 15 seconds from each network.
- Pass criteria
- 99% of sign-ins succeed on the new endpoint within ten minutes; no signed-in session is lost.
- Result
- Partially verifiedNew sign-ins passed from all three networks within four minutes. Mobile app sessions kept the old address until the app restarted.
- Limits
- Production traffic and ISP resolvers that ignore TTLs were not sampled. The mobile app’s connection pool was tested on one OS version.
- Next decision
- Keep the old endpoint serving for 24 hours after the cutover, or ship the app’s reconnect change first.
Decide on exposure and confidence separately
Two questions sit behind every decision about a claim, and they have different owners. Business exposure is what happens if the capability fails: lost revenue, broken obligations to customers, regulatory consequences. The business owner judges it. Evidence confidence is how well the evidence supports the claim under its scenario. Engineers judge it.
Merging the two into one score hides the information the decision needs. A high-exposure claim with no evidence and a high-exposure claim with strong evidence of failure can produce the same score, and they need different actions: the first needs a test, the second needs a fix.
| Business exposure | Evidence confidence | The evidence shows | Decision |
|---|---|---|---|
| High | Low or Unknown | Nothing yet | Verify before relying on the claim, or reduce the exposure until you can |
| High | High | The objective is met | Rely on the claim, and name the changes that send it back for review |
| High | High | The objective is missed | Fix the mechanism, or accept the risk explicitly with a named owner and an end date |
| Low | Low or Unknown | Nothing yet | Record the gap and accept it; add monitoring where it is cheap |
Some regulators in the region already set the objective. The Monetary Authority of Singapore’s Notice FSM-N05 on Technology Risk Management, in force since 10 May 2024, requires a bank to keep the unscheduled downtime of each critical system within “a total of 4 hours within any period of 12 months”, and to set a recovery time objective of no more than four hours. A statement to the board that critical systems meet those limits is a claim. The evidence behind it is a set of dated tests, each with a stated scenario and pass criteria.
Questions to ask your team
- Which capabilities behind our most important flow have been tested in the last six months under the conditions we would rely on, and which are only configured?
- For the last failover or restore test, what were the pass criteria, and were they written down before the test started?
- Which dependencies did that test simulate or leave out?
- Where are the keys, credentials and runbooks that recovery needs, and do they share a failure domain with the system they recover?
- Which reliability statements have we made to the board, customers or a regulator, and what dated evidence sits behind each one?
References
- GitLab. Postmortem of database outage of January 31. 10 February 2017.
- Raymond Blum and Rhandeev Singh. Data Integrity: What You Read Is What You Wrote. Chapter 26 of Site Reliability Engineering, Google, 2016.
- Principles of Chaos Engineering. Last updated March 2019.
- Oracle. InetAddress caching, Java SE 21 API documentation; OpenJDK java.security default for
networkaddress.cache.ttl. Read 11 October 2026. - Monetary Authority of Singapore. Notice FSM-N05, Notice on Technology Risk Management. In force from 10 May 2024.
