Skip to main content

STATE_TEMP_FILE

Constant STATE_TEMP_FILE 

Source
pub const STATE_TEMP_FILE: &str = "migration-state.json.tmp";
Expand description

The fixed sibling staging file for an atomic state replacement.

Its presence is ambiguous evidence of an interrupted writer, so it is never overwritten or silently swept by a later run.