[
https://issues.apache.org/jira/browse/NIFI-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516064#comment-17516064
]
ASF subversion and git services commented on NIFI-9853:
-------------------------------------------------------
Commit a4087f32bbc7fd7cd387f8c5dfe2d6586970d5ed in nifi's branch
refs/heads/main from markap14
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a4087f3 ]
NIFI-9853: Refactored StandardProcessGroupSynchronizer to make use of… (#5919)
* NIFI-9853: Refactored StandardProcessGroupSynchronizer to make use of State
Lookups and Compoennt Schedulers to ensure that we properly synchronize states
when starting up, when exporting flow definitions, and when importing Flow
Definitions
* NIFI-9853: Fixed NPE
> On startup, and when importing flow from registry/file, component states not
> synchronized properly.
> ---------------------------------------------------------------------------------------------------
>
> Key: NIFI-9853
> URL: https://issues.apache.org/jira/browse/NIFI-9853
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.16.0
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Critical
> Fix For: 1.16.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Prior to 1.16, when a users chose to Save Flow Definition, the exported .json
> did not contain a state for Controller Services/processors. When a flow was
> imported, the state defaulted to DISABLED for services, ENABLED/STOPPED for
> processors.
> In 1.16, though, the exported JSON does contain the scheduled state. When a
> flow is imported, any Controller Service whose state is marked as ENABLED
> immediately becomes enabled, but on import it should remain DISABLED.
> Additionally, on startup, if a node inherits the cluster flow, and the
> cluster flow indicates that a processor should be stopped while the local
> flow says it should be running, the node allows the processor to continue
> running, getting out of state with the cluster.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)