Yifan Cai created CASSANALYTICS-213:
---------------------------------------
Summary: Fail the S3 multipart upload when DataChunker hits an
IOException
Key: CASSANALYTICS-213
URL: https://issues.apache.org/jira/browse/CASSANALYTICS-213
Project: Apache Cassandra Analytics
Issue Type: Bug
Components: Writer
Reporter: Yifan Cai
DataChunker's iterator treats an IOException from the channel read as end of
stream, so uploadPartsOfBundle completes the multipart upload with the parts
read so far and never compares the uploaded bytes with the bundle's compressed
size. The Sidecar later rejects the truncated bundle, but with a misleading
error. This change propagates the IOException and checks the byte count before
completing the upload.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]