You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2025/01/13 15:16:00 UTC

[jira] [Created] (NIFI-14152) Mock Framework does not lock Input Queues when using ProcessSession.get(FlowFileFilter)

Mark Payne created NIFI-14152:
---------------------------------

             Summary: Mock Framework does not lock Input Queues when using ProcessSession.get(FlowFileFilter)
                 Key: NIFI-14152
                 URL: https://issues.apache.org/jira/browse/NIFI-14152
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne


When {{PocessSession.get(FlowFileFilter)}} is called, the thread running the filter should have exclusive access to the FlowFiles in all incoming queues. The NiFi framework ensure that this happens. However, the Mock Framework does not ensure this. As a result, if it is scheduled to run with multiple concurrent threads, this can result in multiple threads accessing the FlowFiles in the queue concurrently.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)