Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Trap exception when failed to move blob to tombstone. #10

Merged
merged 1 commit into from Mar 11, 2019
Merged

Trap exception when failed to move blob to tombstone. #10

merged 1 commit into from Mar 11, 2019

Conversation

schungx
Copy link
Contributor

@schungx schungx commented Mar 7, 2019

When a blob needs to be removed (i.e. moved to tombstone) but it doesn't exist (for whatever reason), do not fail. Instead, trap the exception and allow the process through. Log with a warning instead.

@SamSaffron
Copy link
Member

Thanks, yeah this is better than exploding the whole job!

@SamSaffron SamSaffron merged commit 22fcf8d into discourse:master Mar 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
2 participants