Mark Payne created NIFI-14690:
---------------------------------
Summary: When running a Stateless flow, ensure that we can call
Processors' @OnStopped methods after terminating flow
Key: NIFI-14690
URL: https://issues.apache.org/jira/browse/NIFI-14690
Project: Apache NiFi
Issue Type: Bug
Reporter: Mark Payne
Assignee: Mark Payne
When we stop a stateless flow, we have a situation in which we stop all
instances. However, they currently share the same LifecycleState object, which
means that after the first instance terminates processors, all subsequent
instances fail to call the Processors' @OnStopped methods, throwing a
TerminatedTaskException when attempting to increment the active thread count.
This is not obvious in the UI but shows in the logs, and it results in not
properly handling the closing of resources.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)