You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Joe O'Connor (Jira)" <ji...@apache.org> on 2021/11/17 14:54:00 UTC

[jira] [Created] (CAMEL-17204) Warning message logged for S3 multipart uploads

Joe O'Connor created CAMEL-17204:
------------------------------------

             Summary: Warning message logged for S3 multipart uploads
                 Key: CAMEL-17204
                 URL: https://issues.apache.org/jira/browse/CAMEL-17204
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
    Affects Versions: 3.12.0
         Environment: $ java -version
openjdk version "1.8.0_272"
OpenJDK Runtime Environment Corretto-8.272.10.3 (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM Corretto-8.272.10.3 (build 25.272-b10, mixed mode)
            Reporter: Joe O'Connor


When uploading a file to S3 using multipart uploads, a warning message is logged for each one:

"While trying to upload the file {} file, 0 bytes were skipped"

This seems to have been introduced by some static analysis fixes in

[https://github.com/apache/camel/pull/5842/files#diff-69d246dde09cb26ec2795e3fa893ba7e969dba1a1aa9f361a03ced8976a9535b]

 

For the first iteration of the loop, filePosition is expected to be zero so this is the expected return value.

Does not seem t



--
This message was sent by Atlassian Jira
(v8.20.1#820001)