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


##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/scheduling/StandardProcessScheduler.java:
##########
@@ -408,7 +408,16 @@ public Future<Void> unschedule(final ReportingTaskNode 
taskNode) {
      */
     @Override
     public synchronized CompletableFuture<Void> startProcessor(final 
ProcessorNode procNode, final boolean failIfStopping) {
-        final LifecycleState lifecycleState = 
getLifecycleState(requireNonNull(procNode), true, false);
+        requireNonNull(procNode);
+        final CompletableFuture<Void> pendingStart = 
processorStartFutures.get(procNode.getIdentifier());
+        if (pendingStart != null) {
+            return pendingStart;
+        }
+        if (procNode.getPhysicalScheduledState() == ScheduledState.RUNNING) {

Review Comment:
   [Claude Opus 5.5] I removed this change. `StandardProcessScheduler` is 
unchanged from main in this PR.



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