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

Provenance Repository can become corrupt if OutOfMemoryError occurs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.3.0
    • Core Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: