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

FileInputStreamCache will not delete temporary file if file system is full

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.24.2, 3.0.0.RC2
    • Fix Version/s: 3.0.0.RC3, 2.24.3, 3.0.0, 2.25.0
    • Component/s: came-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: