Github user JonathanKessler commented on the issue:
https://github.com/apache/nifi/pull/2847
@mcgilman Did you experience this behavior on the graph or in a unit test?
After fixing the infinite loop locally I was never able to enable the
controller services on the graph because they were never valid: A depends on B
which depends on A. A is not enabled so B cannot be enabled and vice versa.---
