Snapshot writer: base + diff

The snapshot writer turns a live table into a durable archive: a base snapshot (purple) then a stream of diffs (amber), flushed on an interval. When a threshold fires — too much churn, a diff too large, or too long since the last snapshot — it re-bases with a fresh snapshot and starts a new epoch. Turn up the churn and watch re-bases happen.

6 24
base snapshot diff buffered change
epoch
1
diffs since snapshot
0
buffered churn
0

Re-base triggers are configurable by bytes, record count, fraction of dataset, and max/min interval — see edr/0001-snapshot-writer.