Skip to main content

run_import

Function run_import 

Source
pub fn run_import(
    client: &mut RespClient,
    src: &Path,
    resume: bool,
    strict: bool,
) -> Result<ImportReport>
Expand description

Run import — stream src (a RESP command file) into the server, PIPELINE commands per batch. The progress file <src>.progress records the safely-applied byte offset after every batch (fsynced); resume starts there. Idempotent replay.