David Handermann created NIFI-15267:
---------------------------------------
Summary: 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
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)