Zsihovszki Krisztina created NIFI-11028:
-------------------------------------------

             Summary: 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


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)

Reply via email to