Github user mcgilman commented on the issue:

    https://github.com/apache/nifi/pull/2847
  
    @markobean Thanks for the PR! I've tried running it and it does indeed 
address the issue called out in the JIRA. Previously, the infinite loop 
occurred when trying to configure the services in question. With the PR in 
place, I can now configure the services to build the reference cycle. However, 
if I try to enable them I encountered a different infinite loop here:
    
    at 
org.apache.nifi.controller.service.StandardControllerServiceReference.findRecursiveReferences(StandardControllerServiceReference.java:125)
    
    I also seem to recall that previously the framework would identify when a 
reference cycle was detected and it would set that flag in the 
`ControllerServiceReferencingComponentDTO`. I noticed in the UI after 
establishing the reference cycle, the framework did not appear to detect it. 
This may or may not be related to the infinite loop referenced above. I do not 
believe this infinite loop is a result of this PR, but it's something we should 
probably address now as well.
    
    In my scenario service A did not reference any other service, service B 
referenced service A and C, and service C referenced service B. In your 
testing, did you happen to hit the same loop I did when trying to enable them?



---

Reply via email to