Rust: store replace on Windows tries POSIX-semantics rename first (store-windows-rs) #148

Merged
libby merged 6 commits from store-replace/windows-rs into main 2026-11-13 01:29:21 +00:00

2026-11-13

Libby
cultcache-rs: the replace doc says absence to a lock-free reader is rare on NTFS, not impossible
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 22m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 00:01:50 +00:00
Libby
2026-11-13 00:01:50 +00:00
Libby
cultcache-rs: revert the absolute() destination (a relative FileName works with a null RootDirectory); a delete-sharing reader test discriminates POSIX rename; doc names the ruling and where the table has landed
Soul's Starfire probe (build 26200) showed a relative FileName already works, so the reverted
claim was false. windows_replace_tests are compile-checked only and have never run on Windows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 00:01:50 +00:00
Libby
cultcache-rs: Windows store replace tries a POSIX-semantics rename first through a ReplaceKernel seam
replace_with owns the decision table (POSIX first; 1/50/87 fall back to
MoveFileExW write-through for the rest of the call; 5/32/33 retry 25 x 20 ms;
else error), tested with a fake kernel on every OS. WindowsKernel holds only the
two syscalls. The inline MoveFileExW loop is deleted.
(variants:ruling:windows-replace-posix-first)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 00:01:50 +00:00