You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/03/19 21:10:38 UTC
[jira] [Updated] (NIFI-450) FileSystemRepository's subtasks should
catch Throwable
[ https://issues.apache.org/jira/browse/NIFI-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Payne updated NIFI-450:
----------------------------
Issue Type: Bug (was: Improvement)
> FileSystemRepository's subtasks should catch Throwable
> ------------------------------------------------------
>
> Key: NIFI-450
> URL: https://issues.apache.org/jira/browse/NIFI-450
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Fix For: 0.1.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)