Skip to content

feat(aggregations): add opt-in batch_bookmark and incremental modes#172

Open
slint wants to merge 1 commit into
inveniosoftware:masterfrom
slint:incremental-agg
Open

feat(aggregations): add opt-in batch_bookmark and incremental modes#172
slint wants to merge 1 commit into
inveniosoftware:masterfrom
slint:incremental-agg

Conversation

@slint

@slint slint commented May 10, 2026

Copy link
Copy Markdown
Member

batch_bookmark writes a bookmark after every successful interval in
StatAggregator.run, so a worker killed mid-loop only loses the
interval currently in progress.

incremental switches agg_iter to a two-phase shape: first look up the
field values whose events were touched since the bookmark, then
re-aggregate only those values, chunked by affected_partition_size.
Falls back to the full-interval scan on cold start.

All new flags default to off; existing behavior is preserved.

@slint slint moved this to In review 🔍 in Sprint Q2 2026 ☀️ May 10, 2026
batch_bookmark writes a bookmark after every successful interval in
StatAggregator.run, so a worker killed mid-loop only loses the
interval currently in progress.

incremental switches agg_iter to a two-phase shape: first look up the
field values whose events were touched since the bookmark, then
re-aggregate only those values, chunked by affected_partition_size.
Falls back to the full-interval scan on cold start.

All new flags default to off; existing behavior is preserved.
@slint slint force-pushed the incremental-agg branch from e1bfa48 to d91e652 Compare May 10, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review 🔍

Development

Successfully merging this pull request may close these issues.

1 participant