bobpaulin commented on code in PR #11872:
URL: https://github.com/apache/nifi/pull/11872#discussion_r4606536753
##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/components/connector/StandardConnectorNode.java:
##########
@@ -1041,6 +1097,19 @@ public Future<Void> stop(final FlowEngine scheduler) {
return stopCompleteFuture;
}
+ private boolean prepareFlowEvolutionStop(final CompletableFuture<Void>
stopCompleteFuture) {
Review Comment:
[Claude Opus 5.5] Agreed, I removed it. stop() now checks inline whether an
evolution is in progress and aborts it if so, the same way cancelDrainFlowFiles
does. testStopCancelsFlowEvolutionInProgress covers it.
--
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]