Skip to content

fix: repeated slice uploading on large file upload task - #321

Merged
Andrew Omondi (andrueastman) merged 1 commit into
mainfrom
andrueastman/fixRepeatedSlices
Aug 26, 2024
Merged

Andrew Omondi (andrueastman) merged 1 commit into
mainfrom
andrueastman/fixRepeatedSlices

Conversation

@andrueastman

@andrueastman Andrew Omondi (andrueastman) commented Aug 26, 2024 •

Copy link
Copy Markdown
Contributor

The uploadWithRetry does not check for that error/status but always attempts to upload the slice again even in success. Failing to do so may result in a conflict with the API.

This PR fixes the function to simply return in the event the chuck upload is successful.

Fixes #320

@andrueastman
Andrew Omondi (andrueastman) requested a review from a team as a code owner August 26, 2024 13:54
@sonarqubecloud

Copy link
Copy Markdown

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.

Large file upload is sending Authorization header, causing email attachment upload to fail.

2 participants