Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.17.0, 1.16.3
-
None
-
None
Description
When a NiFi node loads the flow configuration from a file, it uses `BundleUpdateStrategy.USE_SPECIFIED_OR_COMPATIBLE_OR_GHOST` to allow for compatible flow resources to be used when the specified ones are not found. But when a NiFi node joins a cluster and receives the flow configuration from the primary node via the connection response, it uses `
BundleUpdateStrategy.USE_SPECIFIED_OR_FAIL` which requires the specified flow resources to exist on the node for the flow sync to succeed.
NiFi should use `BundleUpdateStrategy.USE_SPECIFIED_OR_COMPATIBLE_OR_GHOST` in both of these scenarios so that the flow sync behavior is consistent regardless of how the flow definition is received by the node.
To avoid introducing any risk in the normal NiFi upgrade process, introduce this change as an "opt-in only" change that can be configured in nifi.properties
Attachments
Issue Links
- is superceded by
-
NIFI-12016 Improve leniency for bundle compatibility to allow for rolling upgrades
- Resolved
- relates to
-
NIFI-11162 When upgrading, rolling restart nodes to avoid service interruption
- Resolved
-
NIFI-12016 Improve leniency for bundle compatibility to allow for rolling upgrades
- Resolved
- links to