You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gene Hynson (Jira)" <ji...@apache.org> on 2022/10/20 16:49:00 UTC

[jira] [Created] (NIFI-10676) NiFi does not negotiate compatible versions when loading flow from cluster connection response

Gene Hynson created NIFI-10676:
----------------------------------

             Summary: NiFi does not negotiate compatible versions when loading flow from cluster connection response
                 Key: NIFI-10676
                 URL: https://issues.apache.org/jira/browse/NIFI-10676
             Project: Apache NiFi
          Issue Type: Bug
          Components: Flow Versioning
    Affects Versions: 1.16.3
            Reporter: Gene Hynson


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)