Skip to main content

merge

Function merge 

Source
fn merge(
    bodies: &[String],
    limit: usize,
    keep_cursors: bool,
) -> Result<Results, String>
Expand description

Interleave the replicas’ pages on the cursor order and cut to limit.

The rows are moved as the bytes the replica sent. Re-serialising them would mean a second renderer to keep in step with api::envelope, and the first one is the specification — a proxy that reformats what it forwards is a place for the two to drift.