Mark Payne created NIFI-5771:
--------------------------------

             Summary: If 0-byte FlowFiles are load balanced, can result in 
content claim not being cleaned up
                 Key: NIFI-5771
                 URL: https://issues.apache.org/jira/browse/NIFI-5771
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


To replicate, create two separate Flows:

GenerateFlowFile (File Size 800 KB) -> UpdateAttribute [auto-terminate]

GenerateFlowFile (FileSize 0 B) -> UpdateAttribute [auto-terminate]

On the second one, that is generating 0-byte flowfiles, configure the 
Connection to Load Balance (Round Robin is easiest).

Start both flows.

After a minute or two, stop the GenerateFlowFile processors; let the flowfiles 
finish being processed by UpdateAttribute.

Now, wait for the FlowFile Repository to checkpoint. At this point, the content 
claim should be cleaned up and delete/archive any content claims (with the 
exception of a few claims that are still 'writable'). However, some claims are 
still sticking around when they shouldn't.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to