cultcache-rs: lock-file open waits through a Windows sharing violation #164

Merged
libby merged 1 commit from store-replace/rust-lock-open-waits into main 2026-11-13 11:16:16 +00:00

2026-11-13

Libby
cultcache-rs: lock-file open waits through a Windows sharing violation
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 20m0s
open_lock_file retries while the open fails with raw os error 32 (cfg(windows) only),
as lock_exclusive and lock_shared already wait on the lock itself. The try entry opens
once and maps a sharing violation to Ok(None). Helpers take the open closure and busy
predicate so Linux tests drive them with fakes.

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