03 / race condition

02:13 AM. Andy’s phone buzzed once, then again. Then it didn’t stop.

He opened his laptop in bed. The monitoring dashboard was a wall of red.

[ALERT] INC-0003 — Shared-state conflict detected on account cust-9174
[ALERT] Subscription status mismatch: ACTIVE vs SUSPENDED
[ALERT] Malformed telemetry fragment in audit replay log

Two workers had updated the same customer account simultaneously. One system said the subscription was ACTIVE. Another said the same account was SUSPENDED.

Security immediately blamed an external intrusion attempt after malformed telemetry appeared during log replay.

But Bob was already online. He ignored the intrusion alert completely.

A message appeared in the incident channel:

“Find which worker overwrote the state.”

evidence retained
  1. reconcile consumed from q-pay.
  2. The process consuming from q-sub produced SUSPENDED.
  3. The process consuming from q-audit generated malformed telemetry.
  4. reconcile produced ACTIVE.
  5. The process that generated malformed telemetry produced CORRUPTED.
  6. suspend did not consume from q-audit.
messages incident channel
Bob 02:14

Two writes. One stale snapshot. That's enough to corrupt state.

Ops 02:15

Logs from q-audit look damaged.

Security 02:16

We believe this may be external interference.

table queue analysis

incident

INC-0003

type

Shared-state overwrite

severity

SEV-1

reconcile suspend replay ACTIVE SUSPENDED CORRUPTED
q-pay
q-sub
q-audit
ACTIVE
SUSPENDED
CORRUPTED
answer input incident response

Question: Which process corrupted the account state? Enter: process, its queue, and the result it produced.