Skip to main content

export_contiguous

Function export_contiguous 

Source
pub fn export_contiguous(
    conn: &Connection,
    home_device_id: &str,
    store_id: &str,
    start_seq: i64,
    limit: usize,
) -> Result<ExportedBatch, MemoryError>
Expand description

Export a contiguous range of journal entries.

Returns entries with sequence numbers in [start_seq, start_seq + limit). If a gap is detected (missing sequence), returns only the entries before the gap and sets has_more to false with next_seq pointing to the gap.