Design 47 H2: H-A-500 addenda (ask key, own takeins durable); H-A-501 corrected (held key-ttl state gets per-message TTL)
This commit is contained in:
@@ -1245,3 +1245,15 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
|
||||
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.
|
||||
- **H-A-500 addenda (03:05)** (1) The runner's test-runs state gains a key `ask.<ask>` holding the run key, created
|
||||
with the run and deleted with it, so an ask-taken or step-progress finds its run in one read and never scans the
|
||||
pipelines; for the ask of an ended run the event is acknowledged at once, which replaces H-A-311 (2)'s releaseLate
|
||||
and H-A-238 (2)'s answeredLate for that case. (2) The runner makes its own second durable on EVENTS, named
|
||||
`<node>_<module>_takeins`, filtered to `mesh.mod.*.event.take-in.taken`, through the SDK's named event consumer
|
||||
and HearEvents (as the indexer does on SOURCE_MOVED); the main durable keeps every other subject and drops
|
||||
take-in.taken; grants gives that name CONSUMER.CREATE, MSG.NEXT and ACK on EVENTS; the cancel and start verbs
|
||||
already run on the calls connection. P3, principle 9.
|
||||
- **H-A-501 corrected (03:05)** The refusal is the indexer's key-TTL write into its own held state `heard`
|
||||
(declared key-ttl), not an event: the bucket predates the declaration and grants' handling of a held stream never
|
||||
turns per-message TTL on. So grants, for a held state stream declared key-ttl, turns on allow_msg_ttl and
|
||||
subject_delete_marker_ttl, add-only like the cap raise, said as asserted; the indexer's TTL stays. P-failure-loud.
|
||||
|
||||
Reference in New Issue
Block a user