Samrat Deb created FLINK-39786:
----------------------------------
Summary: closeForCommit() leaks orphan multipart uploads on upload
failure
Key: FLINK-39786
URL: https://issues.apache.org/jira/browse/FLINK-39786
Project: Flink
Issue Type: Sub-task
Components: Connectors / FileSystem
Reporter: Samrat Deb
Fix For: 2.4.0
If uploadCurrentPart() throws after closed=true, the method exits without
aborting the MPU and close() short-circuits on closed. The upload sits in S3
indefinitely. Even when
close() does run, an abortMultiPartUpload failure is only WARNwith a comment
hoping bucket lifecycle rules clean up. Practically, most buckets don't have
AbortIncompleteMultipartUpload configured.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)