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

If the "nifi.flowfile.repository.partitions" property is changed to a smaller value, FlowFIles not restored properly

    XMLWordPrintableJSON

Details

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

    Description

      To recreate:

      1. Start NiFi and run some data through it.
      2. Kill NiFi (may not happen if the FlowFile repo was just checkpointed; the logs would indicate this)
      3. Change the "nifi.flowfile.repository.partitions" property in conf/nifi.properties from 256 to 6
      4. Restart NiFi

      At this point, any updates to the Write-Ahead Log that occurred on journal-7 through journal-256 will be lost. This can cause some bizarre behavior, such as FlowFiles that have finished processor could be reprocessed. FlowFiles could also lose attributes (or could be re-processed without having all of their attributes present).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: