Mark Payne created NIFI-11290:
---------------------------------
Summary: 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
Fix For: 1.latest, 2.latest
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)