Joe Witt created NIFI-14711:
-------------------------------
Summary: Stopping a Stateless NiFi Process group is too aggressive
and can lead to warnings/failures that confuse the user
Key: NIFI-14711
URL: https://issues.apache.org/jira/browse/NIFI-14711
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework, Core UI, NiFi Stateless
Affects Versions: 2.4.0
Reporter: Joe Witt
Today when stopping a ProcessGroup configured in stateless execution mode the
stateless engine gives some brief period of time to stop components. It then
stops scheduling processors and makes controller services invalid. It
basically goes into 'yeah you're shutting down now mode'
This can lead to controller services printing errors or warnings instead of
being a graceful shut down mechanism.
That behavior made sense for stateless as a standalone application. But we
should treat process groups in stateless mode like stopping processors works.
You tell it to stop and it takes as long as it takes. If there are still
active threads and a user or some process wants to then elect to terminate it
can.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)