Diagnose a Production Failure Under Pressure

Incident FIN-INC-301 after a provider release: containment and communication first, observability, two separate causes, a controlled recovery and a post-incident review.

  • Advanced to enterprise
  • About 33 minutes
  • Includes an exercise and a knowledge check

Round 7 Unmatched payments are growing

Your answer

Round 7: 10:15 a.m., FIN-INC-301 is open

Since this morning’s 09:05 Provider A release, unmatched payments have been growing. The API is answering normally, but the queue is getting deeper and latency is rising. Write what you do in the first 15 minutes, who you tell, and which three signals you check first to find out what is wrong.

Compare your answer with what follows.
FIN-INC-301, high severity provisional, 10:15 a.m.: unmatched payments growing since the Provider A integration release. API succeeding, queue depth rising, latency rising, some reference formats changed, no confirmed loss. Issue 1, matching compatibility: the adapter accepts the new format but normalization does not recognize it, so records are stored but not eligible for the reference rule. Issue 2, processing throughput: exception creation is slower, so the queue grows. Fixes: a tested normalization change validated on known matches and non-matches; a throughput fix and safe replay with idempotency verified and replay scope approved.
Two problems hiding in one incident.
  1. Acknowledge the incident; identify the affected workflow and time window.
  2. Preserve logs, metrics, traces and source records.
  3. Determine whether incorrect matches or financial effects are happening.
  4. Decide whether to pause or restrict new processing.
  5. Name the incident commander and technical owner; notify the agreed stakeholders; set an update cadence.
Look atWhat
MetricsQueue depth, oldest age, consumer throughput, latency, errors, database connections, CPU and memory, outcomes by type
LogsProvider event identity, validation and normalization outcome, rule ID, exception reason, correlation ID
TracesProvider request, persistence, publication, consumption, database operations, rule execution

Telemetry tells the two causes apart. Both make unmatched records grow, but they leave different traces:

SignalPoints to normalizationPoints to throughput
Normalization outcome in the logsA rising share of Provider A records marked UNRECOGNIZED_FORMAT since the releaseUnchanged
Reconciliation outcomes by typeMore UNMATCHED for Provider A only; Provider B unchangedEvery outcome type arrives later, for both providers
Queue depth and oldest message ageNormalBoth rising; consumer throughput below the arrival rate
TracesThe reference rule finds no candidateLong time in exception creation; database waits
Incident roleWhoDecides
Incident commanderFDE leadPriorities, update cadence, when to escalate
Technical leadIntegration engineerDiagnosis and the technical containment option
Communications leadDelivery managerCustomer updates, on the agreed schedule
ScribeEngineerThe timeline of facts, decisions and times
Financial decision ownerApex finance directorPausing financial processing, and approving any replay that changes financial state

Containment options, from least to most disruptive: route Provider A records with an unrecognized format straight to exceptions instead of matching; turn off the release's new behavior with its feature flag; roll back the Provider A adapter release; pause Provider A matching altogether. The finance director chose the first: nothing is matched wrongly, and analysts can see every affected record. A rollback was not needed, because records were stored correctly; only their eligibility for matching was wrong.

Recovery stepWhat happensApproved by
1Confirm the new formats from the provider's release notes and real samplesTechnical lead
2Define the affected population: Provider A records received since the 09:05 release with UNRECOGNIZED_FORMATTechnical lead
3Snapshot those records and keep the original values, untouchedTechnical lead
4Write the normalization change for the new formatTechnical lead
5Test it against known matches and known non-matches, including look-alike referencesTechnical lead
6Review the change and the test resultsFinance director and platform lead
7Release it through the normal pipeline, with its own feature flagPlatform lead
8Agree the replay scope: exactly the population from step 2, nothing elseFinance director
9Replay that population; idempotency stops anything already matched from changingTechnical lead
10Verify: counts in and out agree, no settlement matched twice, and a sample of 100 replayed matches checked by analystsOperations manager
11Fix the throughput cause separately and watch the queue drainPlatform lead
12Send the recovery update and schedule the blameless reviewIncident commander

textA customer update that separates facts from hypotheses

Confirmed: Provider A changed the format of some payment references.
The adapter accepts them, but the new format is not consistently normalized for
reconciliation, which is contributing to more unmatched records. We are identifying
the affected transactions and validating a compatibility change against known
positive and negative examples. We are investigating the processing backlog
separately. No conclusion about financial impact will be made until the affected
records are reconciled and verified. Next update: the confirmed scope, containment
status and recovery evidence.

Practical exercise

Assignment 8: the incident file

Submit the incident file.

  1. Timeline, initial update and evidence collected.
  2. Root-cause analysis and containment decision.
  3. Recovery and verification plans.
  4. A post-incident action register with owners and dates.
Show a sample preventive action
  • Detection gap: no alert on the share of records failing normalization. Action: alert when more than an agreed share fails per provider per hour; owner, platform lead; due in two weeks.

What you can do now

  • Run the first hour of an incident.
  • Separate causes with observability.
  • Recover and review safely.