[
https://issues.apache.org/jira/browse/NIFI-11028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678020#comment-17678020
]
ASF subversion and git services commented on NIFI-11028:
--------------------------------------------------------
Commit 9ad1d8a7aece34ae78363d265492edec5a4c3bd8 in nifi's branch
refs/heads/main from krisztina-zsihovszki
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9ad1d8a7ae ]
NIFI-11028 Handle controller service 'Scheduled State' change (#6831)
> Handle controller service 'Scheduled State' after upgrade to NiFi 1.16
> ----------------------------------------------------------------------
>
> Key: NIFI-11028
> URL: https://issues.apache.org/jira/browse/NIFI-11028
> Project: Apache NiFi
> Issue Type: Bug
> Components: NiFi Registry
> Affects Versions: 1.16.0
> Reporter: Zsihovszki Krisztina
> Assignee: Zsihovszki Krisztina
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> It is not possible to revert local changes on an upgraded flow if the
> controller services are enabled. The following error is reported: "Cannot
> modify Controller Service configuration because it is currently enabled.
> Please disable the Controller Service first."
> The "Scheduled State" of a controller service was not stored prior to 1.16.
> When NiFi is upgraded from an earlier version to 1.16, the stored "Scheduled
> State" of controller services in the flow is "null", while the actual
> (local) scheduled state is ENABLED/DISABLED (both is mapped to DISABLED at
> comparison).
> When "Revert local changes" is selected, the "Scheduled State" change is
> noted as a difference between the proposed and currently loaded flow.
>
> {code:java}
> Controller Service 10f21a4c-194f-34c2-8cfc-97892f73d3ec has a Scheduled State
> of null in Proposed Flow but DISABLED in Currently Loaded Flow{code}
> Since it's considered a local change, the controller service is not disabled
> before the flow is synchronized and when synchronization takes place, the
> "Cannot modify Controller Service configuration because it is currently
> enabled. Please disable the Controller Service first." occurs.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)