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
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:
parent
1d2ee73ce8
commit
7acc51eebb
1 changed files with 2 additions and 1 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue