Mark Payne created NIFI-8353:
--------------------------------

             Summary: When node is offloaded, it may still receive data from 
load-balanced connections
                 Key: NIFI-8353
                 URL: https://issues.apache.org/jira/browse/NIFI-8353
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne
             Fix For: 1.14.0


Consider a simple flow: GenerateFlowFile (9 FlowFiles per batch, each 10 KB, 
scheduled once per second) -> UpdateAttribute.

The connection between the two processors is configured with Round Robin load 
balancing.

Start GenerateFlowFile. Wait a few seconds for some data to queue up.

Disconnect Node 2. Immediately offload Node 2. Refresh cluster page to see that 
the node is offloaded.

Navigate to Node 2's UI. Sometimes it will show data queued up. This is because 
after the node was offloaded, the connection from Node 1 was still transferring 
data to Node 2. Node 1 won't start any additional transactions to send data to 
Node 2, but it will complete the already-started transactions. So the node can 
be offloaded and end up with data queued.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to