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

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

Commit 21e7eef660fd7caabbb89c75c56ce8bfd72658fb in nifi's branch 
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=21e7eef660 ]

NIFI-13990 Fixed CLI pg-enable-services failing if parent PG has disabled CS 
(#9504)

Signed-off-by: David Handermann <[email protected]>

> CLI - pg-enable-services will fail if parent PG has disabled CS
> ---------------------------------------------------------------
>
>                 Key: NIFI-13990
>                 URL: https://issues.apache.org/jira/browse/NIFI-13990
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Scenario:
>  * root process group
>  ** has a disabled controller service
>  ** has a process group PG1
>  * PG1
>  ** has multiple controller services
> If using pg-enable-services on PG1, it will always fail because it'll check 
> the listed controller services at PG1 level which also includes controller 
> services from parent process groups although the request to enable controller 
> services will not enable controller services in parent process groups.
> When checking controller service states, it should filter the list of 
> controller services with the ones defined at the level of the specified 
> process group.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to