Skip to main content

IMPORT_IN_PROGRESS_KEY

Constant IMPORT_IN_PROGRESS_KEY 

Source
pub const IMPORT_IN_PROGRESS_KEY: &str = "backup:import_in_progress";
Expand description

Key under which apply_import records that a destructive import is in flight. Written (and persisted) before the keyspaces are cleared and removed only after every record is back; if a crash interrupts the import, this survives and boot refuses to start on the resulting hybrid state (see vta-service’s server::run). Lives in the keys keyspace under a prefix no clear/scan touches.