You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90cd86e
Browse filesBrowse the repository at this point in the historyBrowse files
feat(precompute): event-time barrier for Remote Write producers
Ports #814 to the plan-executing engine.
POST /api/v1/precompute/watermark?time_ms=T: the producer states that
every sample at or before T has been written. The request queues an
AdvanceWatermark command behind every write already acknowledged and
answers once it has run: every pane with end <= T is closed, keeping
the left-open (end - width, end] convention, so the last pane of a
series that stopped sending is built and its window served from the
plan without a later sample.
- T is capped at the wall clock, like the sample watermark.
- A repeated or lower T does nothing; the answer is the barrier in force.
- The closing reuses the expired-pane skip and checked arithmetic, so
T = i64::MAX terminates.
- Input stays open; samples at or before T arriving later count as late.
- With several producers, the barrier must follow all of their writes
through T; the README says so.
0 commit comments