[ 
https://issues.apache.org/jira/browse/NIFI-15267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042253#comment-18042253
 ] 

ASF subversion and git services commented on NIFI-15267:
--------------------------------------------------------

Commit 6e674d8c77b402a4438fb41f55e98f345dd0bdbe in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6e674d8c77 ]

NIFI-15267 Perform validation when enabling Controller Services (#10572)

- Updated StandardControllerServiceNode enable method to perform validation 
before checking status
- Added system test with 12 Controller Services that require property renaming
- Added incremental delay for validation and enabling

> 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.0.0, 2.6.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 2.7.0
>
>          Time Spent: 50m
>  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)

Reply via email to