[
https://issues.apache.org/jira/browse/NIFI-14654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-14654.
-------------------------------------
Fix Version/s: 2.5.0
Resolution: Fixed
> 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
> Priority: Major
> Fix For: 2.5.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)