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/06/11 20:31:00 UTC
[jira] [Created] (NIFI-14654) When Stateless group is stopped, processors may be stopped before session commit callbacks are called
Mark Payne created NIFI-14654:
---------------------------------
Summary: When Stateless group is stopped, processors may be stopped before session commit callbacks are called
Key: NIFI-14654
URL: https://issues.apache.org/jira/browse/NIFI-14654
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Reporter: Mark Payne
Assignee: Mark Payne
If a Processor commits a session using {{ProcessSession.commitAsync(Runnable, Consumer<Throwable>)}} but the Stateless Process Group is stopped, sometimes the Processor's @OnStopped method is called before the Runnable or Consumer<Throwable> is called. This can cause the @OnStopped method to behave incorrectly, effectively running while the Processor is still being triggered.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)