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 2023/03/16 12:52:00 UTC

[jira] [Updated] (NIFI-11290) When Primary Node changes, components should be notified in a background thread

     [ https://issues.apache.org/jira/browse/NIFI-11290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Payne updated NIFI-11290:
------------------------------
    Status: Patch Available  (was: Open)

> 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: 1.latest, 2.latest
>
>          Time Spent: 10m
>  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)