Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7038

Make deletion of temp files resilient in some common utility methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.14, 1.8.0
    • commons
    • None

    Description

      FileIOUtils#append and ExternalSort#mergeSortedFiles delete temp files outside of the finally block which would cause the temp files to pile up in case of errors. These deletions should be moved to the finally block.

      Attachments

        Activity

          People

            amitjain Amit Jain
            amitjain Amit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: