Mark Payne created NIFI-803:
-------------------------------

             Summary: Provenance Repository can become corrupt if 
OutOfMemoryError occurs
                 Key: NIFI-803
                 URL: https://issues.apache.org/jira/browse/NIFI-803
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Priority: Critical
             Fix For: 0.3.0


If NiFi runs out of memory and the JVM throws an OutOfMemoryError while 
persisting a record to the PersistentProvenanceRepository, this can result in 
only a partial record being written to the repository.

At this point, the journal that has a partial record written to it is not 
'black listed' at all, so another update to the repository could write to the 
same journal file, resulting in a corrupt repository.



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

Reply via email to