[
https://issues.apache.org/jira/browse/NIFI-8163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269599#comment-17269599
]
ASF subversion and git services commented on NIFI-8163:
-------------------------------------------------------
Commit f2a16cd02e80734f3f5e7c66c8d82211a659e34b in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f2a16cd ]
NIFI-8163: When counting number of components, we traverse into all Process
Groups, but then call findAllRemoteProcessGroups, which is a recursive call,
instead of calling getRemoteProcessGroups(). This results in counting the
Process Groups many times. So fixed that.
Signed-off-by: Nathan Gough <[email protected]>
This closes #4775.
> When RPG is invalid, process groups show incorrect count for 'invalid'
> ----------------------------------------------------------------------
>
> Key: NIFI-8163
> URL: https://issues.apache.org/jira/browse/NIFI-8163
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.13.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> When a Remote Process Group is created and is invalid (due to invalid
> hostname, for example), the parent Process Group should have an 'invalid'
> count of 1. Which it does. Its parent should also show an invalid count of 1,
> but it shows 2. And its parent shows 3 instead of 1, and so on. So if the RPG
> exists 6 levels deep, it will show an invalid count of 7 instead of 1.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)