Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-450

FileSystemRepository's subtasks should catch Throwable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • Core Framework
    • None

    Description

      The DestroyExpiredArchiveClaims and BinDestructableClaims classes should wrap their implementations of the run() method with a try

      {...} catch (Throwable t) {...}

      If any Throwable escapes right now, it causes some pretty bad results, so we shouldn't let this happen. As a result, it could leave behind some files in the repo that won't be cleaned up until restart if a Throwable is thrown, but that's better than letting the thread die.

      Attachments

        Activity

          People

            Unassigned Unassigned
            markap14 Mark Payne
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: