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

Unstable behavior with content archiving enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.12.1, 1.14.0, 1.13.2
    • None
    • Core Framework
    • None

    Description

      If content archiving is enabled when NiFi is started (nifi.content.repository.archive.enabled=true) and the threshold above which deletion occurs is less than the actual free space available on disk, unexpected behavior will occur. 

      I have attached a simple flow (content_archiving_bug.xml) that is accessed via a HandleHttpRequest. In one of the branches then very many FlowFiles are created (DuplicateFlowFile). (This is to simulate a complex flow in production to show the behavior there).

      If you call this branch via the browser a few (5-10) times, this leads to the fact that either no more FlowFiles are processed in the flow or that this happens only extremely slowly.

      In addition, the HandleHttpRequest then takes no more requests from the queue and reports queue full back (to show this better, the queue is configured smaller).

      Attachments

        1. content_archiving_bug.xml
          78 kB
          Marc Pellmann

        Activity

          People

            Unassigned Unassigned
            pellmann Marc Pellmann
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: