Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw: identify racing writes when using copy-if-newer
When copying an object from a different zone, and copy-if-newer is specified, if the final meta write is canceled check whether the destinatioin that was created is actually newer than our mtime, otherwise retry. Signed-off-by: Yehuda Sadeh <yehuda@redhat.com> (cherry picked from commit fe9c64b)
- Loading branch information
Showing
2 changed files
with
52 additions
and
6 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