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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • Core Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: