[
https://issues.apache.org/jira/browse/NIFI-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422720#comment-15422720
]
Mark Payne commented on NIFI-2195:
----------------------------------
We should also consider enabling/disabling Controller Services as appropriate
instead of having them in the fingerprint and requiring that they be the same
between node & cluster.
> Improve sophistication of how nodes detect and handle differences between
> local and cluster flows
> -------------------------------------------------------------------------------------------------
>
> Key: NIFI-2195
> URL: https://issues.apache.org/jira/browse/NIFI-2195
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Fix For: 1.1.0
>
>
> Currently, when a node joins a cluster, it uses the flow's "Fingerprint" to
> determine whether or not its flow matches the cluster flow. If not, it will
> not join the cluster. There are two main drivers for this. First, we want to
> ensure that we don't overwrite the flow with a completely different flow
> (though we want to allow for minor differences between the flow, such as the
> location of a processor on the graph). Secondly, we want to ensure that there
> is no data loss.
> We can improve the sophistication of this and allow a node to join the
> cluster if there are no 'substantive' differences. It is critical that a node
> not inherit a flow that is missing some Connection, if that Connection has
> data queued up, as doing so would result in data loss.
> We should be smarter, though, about which things really matter. For instance,
> if the name of a Processor is different, the node should simply inherit the
> name of the Processor from the cluster, instead of refusing to join.
> If any changes to the flow are made when joining a cluster, though, we should
> ensure that we back up the flow before changing it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)