Documentation
¶
Overview ¶
Package watermark encodes a part's per-series durability watermark sidecar: the newest timestamp each series has in that part.
Both engines write it beside the part at flush and merge, and a replica refresh reads it instead of decoding the part's whole timestamp column. It is the same shape in both — the record engine's streams are signal.SeriesID too — so the codec lives here rather than twice.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCorrupt = errors.New("watermark: corrupt sidecar")
ErrCorrupt marks an unreadable sidecar. A reader treats it like an absent one and falls back to decoding the timestamp column.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.