[ 
https://issues.apache.org/jira/browse/NIFI-15170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-15170:
------------------------------------
    Summary: Cluster State not returned to Controller Services on Startup  
(was: Cluster State not return to Controller Services on Startup)

> Cluster State not returned 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: 0.5.0, 1.16.3, 1.18.0, 1.19.0, 1.20.0, 1.19.1, 1.21.0, 
> 1.22.0, 1.23.0, 1.24.0, 1.23.1, 1.23.2, 1.25.0, 1.26.0, 1.27.0, 1.28.0, 
> 2.0.0, 2.1.0, 1.28.1, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0
>            Reporter: David Handermann
>            Assignee: Mark Payne
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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