Skip to main content

Module materialize

Module materialize 

Source
Expand description

Materialize live (non-deleted) rows from a flushed segment blob.

Used by the durable RESTORE re-issue path: a backed-up flushed segment is decoded back into per-row Value::Objects so the rows can be replayed as a normal columnar Insert (WAL- or Raft-durable) rather than installed into in-memory-only state. Deleted rows are excluded — resurrecting them would be a correctness regression.

Functions§

materialize_segment_live_rows
Decode the live rows of one flushed segment blob into Value::Objects, paired with their per-row cross-engine surrogate.