Skip to main content

export_partition

Function export_partition 

Source
pub async fn export_partition<'a, S: NamespaceStore>(
    store: &'a S,
    p: &Partition,
    now_ms: u64,
) -> Result<(ExportHeader, ExportStream<'a, S>), StoreError>
Expand description

Portable logical backup of one partition: its header and a stream of every row in key order. The stream is not a snapshot: rows written while it runs may or may not appear, so export a quiesced partition.