markap14 commented on code in PR #11663:
URL: https://github.com/apache/nifi/pull/11663#discussion_r3980086490


##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/components/connector/StandardConnectorNode.java:
##########
@@ -1020,6 +907,8 @@ private void startComponent(final FlowEngine scheduler, 
final CompletableFuture<
         }
 
         try (final NarCloseable ignored = 
NarCloseable.withComponentNarLoader(extensionManager, 
connectorDetails.getConnector().getClass(), getIdentifier())) {
+            
activeFlowContext.getConfigurationContext().resolvePropertyValues(false);

Review Comment:
   Does this introduce a potential issue where we would call 
`resolvePropertyValues(false);` and then later call 
`resolvePropertyValues(true)` such that the latter call would resolve values 
using a stale cache, whereas this call used newer versions?
   
   If so, would it make sense to just simply call `invalidateCache()` instead? 
Then there'd be no need to introduce a new override to resolvePropertyValues... 



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