[ 
https://issues.apache.org/jira/browse/NIFI-14434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17949538#comment-17949538
 ] 

ASF subversion and git services commented on NIFI-14434:
--------------------------------------------------------

Commit 3fbc0c0df2bac96b92a7a7f02d0205b3285604bb in nifi's branch 
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3fbc0c0df2 ]

NIFI-14434 Avoid calling OnRemoved when Processor is Reloaded (#9914)

- Processor reloading includes certain property modifications and processor 
termination

Signed-off-by: David Handermann <[email protected]>

> Components' @OnRemoved methods are called any time the component is reloaded
> ----------------------------------------------------------------------------
>
>                 Key: NIFI-14434
>                 URL: https://issues.apache.org/jira/browse/NIFI-14434
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Any time that the StandardReloadComponent is called to reload a component, 
> such as a Processor, it calls any method annotated with {{{}@OnRemoved{}}}. 
> This should be reserved only for when the component is removed from the 
> canvas, not when it's reloaded. The reload happens any time that the version 
> of the component is changed or potentially when the flow is reloaded, etc.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to