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/02/17 20:10:18 UTC

[jira] [Created] (NIFI-1527) Resource Claim counts not incremented on restart for FlowFiles that are swapped out

Mark Payne created NIFI-1527:
--------------------------------

             Summary: Resource Claim counts not incremented on restart for FlowFiles that are swapped out
                 Key: NIFI-1527
                 URL: https://issues.apache.org/jira/browse/NIFI-1527
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Priority: Blocker
             Fix For: 0.6.0


When NiFi starts, it tallies the count of how many FlowFiles reference each Resource Claim and then removes or archives any file in the Content Repository for which there is no claim.

However, the claim counts are not incremented for data that is swapped out. As a result, the content repository could delete or archive data on restart that it should not. This could potentially result in data loss, if NiFi is restarted while both of the following conditions are met:

* All FlowFiles that reference a Resource Claim are swapped out
* Content Repository's archive is disabled, or the archival threshold is already exceeded from data outside of the Content Repository




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