Skip to main content

restore_damaged

Function restore_damaged 

Source
pub fn restore_damaged(
    home: &Path,
    global: &FileStore,
    zones: &[String],
) -> RestoreStats
Expand description

After a repair of the shared store (filestore::repair): put back the conversation of each agent whose zone in zones lost rows, from the richest whole copy of it in a channel’s own store. A copy that is shorter than the size the zone records is not used: the shared zone also holds conversation from other channels and builds. Best-effort, never fatal.