David Handermann created NIFI-15170:
---------------------------------------

             Summary: Cluster State not return to Controller Services on Startup
                 Key: NIFI-15170
                 URL: https://issues.apache.org/jira/browse/NIFI-15170
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 2.6.0, 2.0.0
            Reporter: David Handermann
            Assignee: Mark Payne


Controller Services that request state information using the {{CLUSTER}} scope 
in a method annotated with {{OnEnabled}} may not receive the cluster state when 
the framework is starting.

The framework {{StandardStateManager.getProvider()}} method checks whether a 
Cluster  State Provider exists and is enabled, returning the Local State 
Provider when the Cluster State Provider is not enabled. On framework startup, 
the {{FlowController}} does not enable the Cluster State Provider until after 
the framework is enabled for clustering. As a result, the Local State Provider 
can be returned, even when the a Controller Service requests state using the 
{{CLUSTER}} scope.



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

Reply via email to