-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPCC-29812 Mitigate rename failures on k8s with nfs backed storage.
Occassionally, renaming a physical file that is on a mount backed by Azure Blob storage over NFS fails. That is ::rename returns -1 indicating an error. However, on inspection immediately after the failure, the rename has actually occurred, i.e. the src file no longer exists, and the dst does. Add a mechanism and configuration option to allow CFile::rename to continue after failure if it can establish that the source filename has actually been renamed to the target filename. Signed-off-by: Jake Smith <[email protected]>
- Loading branch information
Showing
3 changed files
with
65 additions
and
36 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