Run
This run was disrupted and finished anyway
1 worker holding work for this run went away. 1 lease expired and the work came back through the reaper. 1 side effect already performed was suppressed by the idempotency ledger, so the retry did not repeat work that had already happened. All of it is in the 23 events below.
What happened
The milestones of this run, in the order they were recorded. Each one is a real event; the full sequence is in the timeline below.
- Run started#6 23:31:09.439
RUN_STARTEDA worker picked up the first task in the run.
- Failure injected on purpose charge#11 23:31:09.648
FAULT_INJECTEDReLab degraded the real system here. This is the break, and everything after it is the recovery.
- Worker declared gone#12 23:31:11.020
WORKER_LOSTThe holder of this run's task is gone and its leases are released. Usually that is five missed heartbeats; a worker that shuts down deliberately while holding work writes the same event, because what the run experienced is the same either way.
- Worker stopped responding charge#13 23:31:11.220
TASK_LEASE_EXPIREDNobody renewed the hold on this task, so another process concluded the holder is gone. This is the mechanism that also works when a machine loses power.
- Task returned to the queue charge#14 23:31:11.220
TASK_REQUEUEDThe work a vanished worker was holding became claimable again.
- Task running charge#16 23:31:11.255
TASK_STARTEDThe handler began executing. Each attempt writes one of these.
- Duplicate effect prevented charge#17 23:31:11.257
SIDE_EFFECT_SKIPPEDThe retry asked to perform an effect already recorded under the same key, so it was not performed a second time.
- Task finished charge#18 23:31:11.259
TASK_SUCCEEDEDThe handler returned without an error and the result was recorded.
- Workflow completed#23 23:31:11.299
RUN_SUCCEEDEDEvery task finished. This event is the run's last: a finished run's story cannot change.
What the journal proves
Every number above is a count of events in this run’s journal. Recovery is measured from the first fault, lease expiry, task failure or lost worker to the run completing, the same interval relab test asserts on.
Tasks
| Status | Task | Attempt | Worker | Error |
|---|---|---|---|---|
| SUCCEEDED | charge | 2/3 | 611a59e4 | · |
| SUCCEEDED | import | 1/3 | 611a59e4 | · |
| SUCCEEDED | report | 1/3 | 305c1862 | · |
Timeline
The run’s complete recorded history, in sequence order. This is the same journal relab replay reduces. Filtering hides rows from this view; it never changes the sequence numbers, so a gap in them is still a gap.
| Seq | Time | What happened | Task | Worker | Technical detail |
|---|---|---|---|---|---|
| 17 | 23:31:11.257 | Duplicate effect preventedSIDE_EFFECT_SKIPPED | charge | · | attempt=2 idempotency_key=96ea5bfd-1536-42c2-ac1b-72b7101efeb7:charge:external-chargeThe retry asked to perform an effect already recorded under the same key, so it was not performed a second time.
{
"v": 1,
"attempt": 2,
"first_attempt": 1,
"idempotency_key": "96ea5bfd-1536-42c2-ac1b-72b7101efeb7:charge:external-charge"
} |