Skip to content

out_s3: ensure uploads are not completed when a chunk upload is in progress #10420

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edsiper
Copy link
Member

@edsiper edsiper commented Jun 2, 2025

Introduce has_locked_chunk to detect active part uploads and skip completion when a chunk is locked. This ensures only one CompleteMultipartUpload happens after all parts finish uploading, avoiding multipart failures due to prematurely completing the upload.


Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

…rogress.

Introduce has_locked_chunk to detect active part uploads and skip
completion when a chunk is locked. This ensures only one CompleteMultipartUpload
happens after all parts finish uploading, avoiding multipart failures due to
prematurely completing the upload.

Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant