You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows vector.rs save() cross-process race condition #982
vector.rs:205-211 — On Windows, save() temporarily releases the file lock (fs2::FileExt::unlock) before rename(), creating a window where another process can access the partially-written file.
Context
This is a workaround for Windows ERROR_ACCESS_DENIED on rename (issue #926). The unlock-rename-relock pattern is inherently racy.
Fix
On Windows, write directly to the target file instead of temp-file + rename. Or use rename() retries with exponential backoff instead of releasing the lock.
Activity
fix: CLI JSON safety and Windows vector race condition (#981 #982) (#984
ajianaz commentedon Aug 10, 2026
Fixed in #984 (merged to develop)
fix: CLI JSON safety and Windows vector race condition (#981 #982) (#984