mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-20 00:11:34 +00:00
Neither the pre-activation backup nor the pre-migration snapshot fsynced the staged file contents or the parent directory around the publishing rename. A crash after the import committed could lose the retained '.pre-blob-activation.bak' (whose directory entry was never made durable), and the next activation would then write a new backup that already contains the imported blobs, silently breaking the documented pre-activation rollback boundary; a torn staging file could likewise wedge later boots in backup validation. write_snapshot_to_staging now syncs the staged file before handing it to the caller, and both publishers sync the destination's parent directory after their rename (fabro-db on a blocking task, activation inside its existing blocking publication task). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||