From 48cff5171ab7fe2a5f0d23d2868334c9b20cf0c8 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 22 Nov 2026 22:09:33 +0100 Subject: [PATCH] Design 47 H2: H-A-500 the runner's take-in consumer and cheap late events; H-A-501 per-message TTL on the builds stream --- 03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md index 3e13e570..89cedbca 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md @@ -1234,3 +1234,14 @@ The lead's one-line answers to the questions H2's develop and review raise (impl - **H-A-497 second addendum (a chain key a stop left is deleted at the start, 02:40)** A chain runs only inside one indexer process, so a chain key found at the indexer's start was left by a stop; the start deletes every chain key before its own take-in, so no ask answers "a chain runs" for a chain that does not. P-failure-loud. +- **H-A-500 (the runner hears a take-in on its own consumer; a late event of an ended ask costs nothing, 02:55)** 22 Nov + 22:07: the runner heard source 118's take-in ten minutes late, because its one serial event consumer was working + through hundreds of ask-taken and step-progress events of the cancelled main.309 at two to three seconds each. So: + (a) an event for an ask whose run has ended is acknowledged at once from the runner's own state, with no read of + another part (it says one journal line per hundred, not per event); (b) take-in.taken (and pipeline cancel/start + asks) are heard on a consumer of their own, so a pipeline is created within seconds of its take-in whatever the + step traffic. P-failure-loud; the NATS-native rule (events first, nothing waits behind unrelated traffic). +- **H-A-501 (per-message TTL on the builds' event stream, 02:55)** The indexer's version-reserved publishes carry a + per-message TTL and the stream refuses them ("per-message TTL is disabled", err 10166), so every such event is + given up after five tries. The grants part composes the mesh-builds event stream with per-message TTL allowed + (the SDK's events template says so for every event stream), and the publisher's TTL header stays. P-failure-loud.