[
https://issues.apache.org/jira/browse/NIFI-14152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18004998#comment-18004998
]
Eric Secules commented on NIFI-14152:
-------------------------------------
Hi Mark, could you add what processor you were testing to the ticket
description and how you observed the multiple access?
> 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
> Priority: Major
>
> 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)