Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

894 objectstore errors #936

Merged
merged 2 commits into from
Dec 10, 2024
Merged

894 objectstore errors #936

merged 2 commits into from
Dec 10, 2024

Conversation

BenGalewsky
Copy link
Contributor

Problem

The object store manager swallows exceptions from uploading the transformed file to the object store. When this happens
the file is not reported at all to the app and the transform will never complete.

Resolves #894

Approach

Instead of just logging the exceptions and carrying on, raise a new Exception subclass, ObjectStoreError - catch that in the transformer and post the file-complete message to the server, but with the status set to failed

Also took this opportunity to remove the vestigial UploadQueue from the class

@BenGalewsky BenGalewsky requested a review from ponyisi December 4, 2024 18:52
@BenGalewsky BenGalewsky force-pushed the 894_objectstore_errors branch from aeb15ce to e9fd65c Compare December 9, 2024 20:44
@ponyisi ponyisi merged commit 3dd0d19 into develop Dec 10, 2024
69 checks passed
@ponyisi ponyisi deleted the 894_objectstore_errors branch December 10, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed upload to object store should not mark file as complete
2 participants