Skip to main content

log_migration_complete

Function log_migration_complete 

Source
pub fn log_migration_complete(kept: u64, shed: u64, freed_bytes: u64)
Expand description

Log the operator-facing summary of a completed migration.

freed_bytes is what the retired environment held, which is what the deletion running in the background will return. The line that says the space is actually back is migration_event = "space_returned", emitted by that deletion when it finishes. Two lines rather than one because the deletion of a large environment takes minutes, and a node that reports the disk back before it is back is a node whose operator cannot tell a slow deletion from a failed one.