bobpaulin commented on code in PR #11872:
URL: https://github.com/apache/nifi/pull/11872#discussion_r4556449168


##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/components/connector/StandardConnectorNode.java:
##########
@@ -715,6 +764,7 @@ private void applyUpdate(final FrameworkFlowContext 
contextToInherit) throws Flo
             
activeFlowContext.getConfigurationContext().replaceConfiguration(inheritedConfiguration);
 
             getComponentLog().info("Working Context has been applied to Active 
Context");
+            captureAuthoritativeSnapshot();

Review Comment:
   [Claude Opus 5.5]  Addressed by the fix on the syncConnector comment. The 
snapshot is still captured after the connector stops, but it's no longer 
restored onto a running connector. It's restored only for a ghost connector, 
which stays stopped, or for a pending evolution at startup, before the 
connector starts. In that case the evolution starts the processors after 
applying the upgraded flow, so the stopped state recorded in the snapshot isn't 
what decides whether they run.



-- 
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]

Reply via email to