Mark Payne created NIFI-7011:
--------------------------------

             Summary: FlowFile ordering can become incorrect when swapping data
                 Key: NIFI-7011
                 URL: https://issues.apache.org/jira/browse/NIFI-7011
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


NiFi provides weak ordering guarantees when using prioritizers in conjunction 
with swapped data. When data is swapped out, it is always the lowest priority 
data (according to the selected prioritizers) that is swapped out first. When 
data is swapped, it is always swapped back in, in the same order.

However, I've come across a problem where data is swapped out. Then, the data 
that is not swapped out gets processed, then data waiting to be swapped out 
(lowest priority data) is processed, then the swapped data. It should always be 
that the lowest priority data, waiting to be swapped out, should be processed 
after all data that is already swapped out gets swapped back in.



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

Reply via email to