Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14072

FileInputStreamCache will not delete temporary file if file system is full

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.24.2, 3.0.0.RC2
    • 3.0.0.RC3, 2.24.3, 3.0.0, 2.25.0
    • came-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            siano Stephan Siano
            siano Stephan Siano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: