cultcache-rs: the Windows parent-sync comment no longer credits MoveFileExW alone with durability
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Libby 2026-11-12 22:33:07 +00:00
commit 7acc51eebb

View file

@ -4741,7 +4741,8 @@ fn injected_write_fault(_step: WriteStep) -> std::io::Result<()> {
#[cfg(windows)]
fn sync_parent_directory(_path: &Path) -> Result<()> {
// MoveFileExW with MOVEFILE_WRITE_THROUGH owns publication durability.
// Publication durability is the replace's: the MoveFileExW fallback writes through; the POSIX-semantics
// rename has no write-through flag and its durability is unmeasured (follow-up windows-replace-run-and-durability).
Ok(())
}