[
https://issues.apache.org/jira/browse/NIFI-15267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-15267:
----------------------------------
Fix Version/s: 2.7.0
Status: Patch Available (was: Open)
> Controller Service enabling delayed waiting for validation
> ----------------------------------------------------------
>
> Key: NIFI-15267
> URL: https://issues.apache.org/jira/browse/NIFI-15267
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 2.6.0, 2.0.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Fix For: 2.7.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The framework initialization process includes asynchronous enabling of
> Controller Services using a Runnable command submitted to the shared
> Timer-Driven {{ScheduledExecutorService}}. The
> {{StandardControllerServiceNode}} {{enable}} method initiates the command,
> which first checks the Validation Status of the Controller Service before
> calling {{OnEnabled}} methods.
> In deployments with multiple Controller Services, the enabling process can
> take several minutes while waiting on asynchronous validation to be
> completed. The Runnable enable command reschedules itself when the Controller
> Service is not valid, waiting for asynchronous validation to be completed. As
> a result of waiting for validation, the enable command retries multiple times
> and does not complete until after Controller Service validation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)