-
Notifications
You must be signed in to change notification settings - Fork 766
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Avoid duplicate temp file name for install-snapshot requests
This commit resolves an issue where duplicate temporary file names were generated when two install-snapshot requests were received in close temporal proximity. This could potentially lead to conflicts and erroneous behavior during snapshot installation. Changes: - Added logic to generate unique temporary file names for each install-snapshot request to prevent naming conflicts. - Additionally, this commit enhances error handling by including context information in the `io::Error` returned from `SnapshotStoreV002`. This improvement aids in better understanding the source and nature of errors when they occur.
- Loading branch information
1 parent
8d6ebaf
commit e80fcf9
Showing
2 changed files
with
84 additions
and
31 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