apache / apache/beam

upload to s3 fails if last chunk in finish happens to be of 0 length

Open
#21,427 0 comments 0 reactions 0 assignees View on GitHub
aws bug io P2 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Multipart upload to s3 fails in finish method when last chunk is set to zero length, this happens if original buffer size is between 
MIN_WRITE_SIZE = 5 * 1024 * 1024
MAX_WRITE_SIZE = 5 * 1024 * 1024 * 1024
from put()

Imported from Jira [BEAM-13827](https://issues.apache.org/jira/browse/BEAM-13827). Original Jira may contain additional context.
Reported by: hoshimura.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.