AxelSync commented on a change in pull request #3600: NIFI-6420 Controller
Service references not properly tracked if multiple references from same
component
URL: https://github.com/apache/nifi/pull/3600#discussion_r306997283
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceNode.java
##########
@@ -82,7 +84,7 @@
private final Lock readLock = rwLock.readLock();
private final Lock writeLock = rwLock.writeLock();
- private final Set<ComponentNode> referencingComponents = new HashSet<>();
+ private final Map<String, ComponentNode> referencingComponents = new
HashMap<>();
Review comment:
The lookup implementation, which doesn't have a property descriptor, may be
problematic
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services