You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stephan Siano (Jira)" <ji...@apache.org> on 2019/10/16 06:08:00 UTC

[jira] [Created] (CAMEL-14072) FileInputStreamCache will not delete temporary file if file system is full

Stephan Siano created CAMEL-14072:
-------------------------------------

             Summary: FileInputStreamCache will not delete temporary file if file system is full
                 Key: CAMEL-14072
                 URL: https://issues.apache.org/jira/browse/CAMEL-14072
             Project: Camel
          Issue Type: Bug
          Components: came-core
    Affects Versions: 3.0.0.RC2, 2.24.2
            Reporter: Stephan Siano
            Assignee: Stephan Siano


If a FileInputStreamCache completely fills up the underlying fileystem (before the cache file is completely written) processing fails and the temporary file is not deleted afterwards.

The error as such is of course unavoidable but the temporary file should be deleted afterwards.

The reason for this issue is that trying to close the FileOutputStream will throw an IOException (no space left on device). As a consequence the coding that tries to delete the file is not called.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)