-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When an object is deleted (from S3) while it was archived, a message is sent to the cold storage backend to notify the removal. When this is happens during the transition (archival) process, the object is not yet archived, and we cannot sent such message to the backend. In most cases, this should be fine, as the archiving will fail with an error related to the absence of the (removed) object. However, there is a race condition, and it is possible that the archival succeeds in backend if the object is removed at the end of this process or in between this result from the backend and the update of metadata in backbeat : the metadata update will fail (as expected), but the object will still be in cold storage and remain there forever (not referenced from anywhere, and thus orphaned) Issue: BB-469
- Loading branch information
Showing
2 changed files
with
90 additions
and
1 deletion.
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