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

If RuntimeException thrown during checkpoint of FlowFile Repository, repo stops checkpointing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      The WriteAheadFlowFileRepository has a 'checkpointRunnable' task that is scheduled periodically, which is responsible for checkpointing the FlowFile Repository. It catches IOException but no other Exceptions. So if an OOME occurs or a RuntimeException, the repository will stop checkpointing. As a result, it can fill all disk space and/or take a very long time to recover upon restart, depending on how large the FlowFile repository has become.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: