-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework "file" kvstore write paths for better network file support.
* When writing, stat before rename. Stat after rename was done to reduce spurious failures on some windows paths; we may need to watch this case more closely. * Remove fallback stat-by-filenames; these should not be necessary when doing operations in the new order. * Merge RAII FileLock class with WriteLockHelper class. * Add verbose logging for Lock, Unlock, and Delete. I ran this on a WSL instance, and it appears to resolve the wsl network filesystem issues in: #160 (comment) PiperOrigin-RevId: 665436157 Change-Id: Ia8048936a636f181e53edd247c3847280a0d66ca
- Loading branch information
1 parent
d5edeac
commit 2a44dc7
Showing
5 changed files
with
207 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.