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 2016/04/28 21:03:13 UTC

[jira] [Created] (NIFI-1824) FileSystemRepository can leave open file handles to data that has been archived and/or deleted

Mark Payne created NIFI-1824:
--------------------------------

             Summary: FileSystemRepository can leave open file handles to data that has been archived and/or deleted
                 Key: NIFI-1824
                 URL: https://issues.apache.org/jira/browse/NIFI-1824
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Mark Payne
            Assignee: Mark Payne
             Fix For: 0.7.0


There appears to be an issue such that if ProcessSession.write() is called with a StreamCallback and there is an issue reading or writing content, the ProcessSession will decrement the claim count for the content without ever writing to it. In this case, the File System Repository will still hold open a FileOutputStream but will never have a chance to close it. This can be discovered by running:

{code}
lsof -p <nifi pid> | grep archive
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)