Bryan Bende created NIFI-13659:
----------------------------------
Summary: Issue migrating properties during rolling upgrade
Key: NIFI-13659
URL: https://issues.apache.org/jira/browse/NIFI-13659
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 2.0.0-M4
Reporter: Bryan Bende
The following scenario causes property migration to not work as expected:
* Multi node cluster, 3 nodes running version X
* A component from version Y has implemented migrateProperties, say a
processor converts a property to a controller service for example
* Start performing a rolling upgrade...
* Stop node 3, upgrade libs, start node 3
* Node 3 loads flow from disk and converts old properties to new (makes new CS)
* Node 3 connects to cluster and gets the coordinator's flow which has this
component with it's old config
* It runs flow synchronization which undoes the migration and puts the config
back how it was before, which now makes the processors on node 3 invalid
* Proceed with the remaining nodes and they will all end up in the same state
* Only way to fully correct is for all nodes to go down at the same time so
they can all migrate before any node joins the cluster
--
This message was sent by Atlassian Jira
(v8.20.10#820010)