← Back to problems
timeout 30s
Telemetry Batch Release
AeroSpace • watermark • permanent gap handling
Records can arrive out of order. Release the next contiguous run as soon as the watermark can move. A missing sequence that stays missing longer than timeout_s is declared lost: send an explicit GAP marker, step the watermark over that hole, then release the records you already hold. A copy that shows up after the watermark has passed it is ignored. The clock is passed in so the timeout can be tested without waiting.
IngestO(log g)
SpaceO(g)
Step0/0
Ready
Press Play or Step. First, 3 arrives in time. Then the same prefix again, and 3 never comes.