[
https://issues.apache.org/jira/browse/NIFI-11290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-11290:
------------------------------------
Fix Version/s: 2.0.0
1.21.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> When Primary Node changes, components should be notified in a background
> thread
> -------------------------------------------------------------------------------
>
> Key: NIFI-11290
> URL: https://issues.apache.org/jira/browse/NIFI-11290
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 2.0.0, 1.21.0, 1.latest, 2.latest
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When Primary Node changes, all components (Processors, Controller Services,
> Reporting Tasks) have the ability to be notified via the
> {{@OnPrimaryNodeChanged}} annotation. This is done in the FlowController from
> the LeaderElection thread.
> However, if a component blocks indefinitely, that thread is blocked, and
> there's no way to terminate it.
> This should instead be done in a background thread.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)