pvillard31 commented on code in PR #10986:
URL: https://github.com/apache/nifi/pull/10986#discussion_r3182235375
##########
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java:
##########
@@ -4080,6 +4096,104 @@ private Map<String, String> getPropertyValues(final
ComponentNode componentNode)
return propertyValues;
}
+ private void validateLocalStateTopology(final VersionedProcessGroup
proposed) {
+ final int connectedNodeCount = context.getConnectedNodeCount();
Review Comment:
`StandardProcessGroup` now derives both `localNodeOrdinal` and
`connectedNodeCount` from `ClusterTopologyProvider`, which is backed by
`NodeConnectionState.CONNECTED`, so the count reflects only connected nodes and
matches the variable name.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]