You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/11/18 05:43:00 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-17204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-17204.
---------------------------------
    Resolution: Fixed

> Warning message logged for S3 multipart uploads
> -----------------------------------------------
>
>                 Key: CAMEL-17204
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17204
>             Project: Camel
>          Issue Type: Task
>          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
>            Priority: Minor
>              Labels: log-level
>             Fix For: 3.14.0
>
>
> 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 to affect any functionality, just an unnecessary warning is logged



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