Expand description
Event-time bucket planning and source coverage.
Structsยง
- Index
Bucket ๐ - Index files sharing a non-overlapping, half-open time bucket.
- Series
Bucket ๐ - SSTs grouped into a half-open time interval for an aggregate series-index build.
- Series
Index ๐Plan - Next bucket coverage and the work required to publish it, computed without I/O.
Constantsยง
Functionsยง
- group_
files_ ๐into_ series_ buckets - Groups SSTs across levels into sorted, disjoint time buckets without planning builds.
- group_
series_ ๐buckets - Merges overlapping spans sorted by nondecreasing start; equal starts are allowed. Returns sorted, disjoint buckets. Adjacent half-open intervals remain separate. All spans must use the same compaction-window width for their SST summaries.
- merge_
window_ ๐sequences - Merges summaries sharing a start, relying on
WindowSequenceโs sequence assumption. - plan_
series_ ๐indexes - Plans whole-bucket replacements when source SST summaries change. The returned bucket map is publishable only after every planned build and the catalog writes succeed.
- reconcile_
series_ ๐buckets - Expands SST buckets through existing index coverage before grouping build inputs.
- rounded_
bucket_ ๐width