[
https://issues.apache.org/jira/browse/NIFI-13694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878379#comment-17878379
]
Mark Bean commented on NIFI-13694:
----------------------------------
I realize this feature has already been merged, but I am looking for
clarification on the new behavior.
Let's say I have a custom component, version 1.0, in my cluster flow. I begin
upgrading the NAR on each node to version 2.0. The new 2.0 version does not
match the cluster flow, so the component will become ghosted on each upgraded
node - but the node will, in fact, be allowed to join the cluster. However, by
the time all nodes are upgraded (and the cluster coordinator has changed in the
process as it was inevitably restarted), wouldn't the cluster definition now be
at 2.0? If so, why do the components remain ghosted?
Related question: if the above is correct - that the cluster flow will
eventually contain the 2.0 component - when does this transition occur? When a
majority of the nodes in the cluster have completed the upgrade?
Finally, does this process work the same for non-custom components? I believe
there is special handing for components having the same version as the
framework. The intent here is allowing a rolling upgrade of NiFi (not just an
individual NAR) in a cluster configuration.
[~bbende] can you please confirm some of these questions or point out where I
have it wrong either here or in the proposal document. Thanks!
> Remove MissingComponentsCheck from flow synchronization
> -------------------------------------------------------
>
> Key: NIFI-13694
> URL: https://issues.apache.org/jira/browse/NIFI-13694
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Major
> Fix For: 2.0.0-M5
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Implement the change described here:
> https://cwiki.apache.org/confluence/display/NIFI/Remove+MissingComponentsCheck+from+Flow+Synchronization
--
This message was sent by Atlassian Jira
(v8.20.10#820010)