This is an automated email from the ASF dual-hosted git repository.

markap14 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new dfd1276230 NIFI-13184 - mark invalid processors to start once they 
become valid (#8809)
dfd1276230 is described below

commit dfd1276230eb64e13efa06ac42c2788b80da8923
Author: greyp9 <gre...@users.noreply.github.com>
AuthorDate: Tue Jun 18 15:12:20 2024 +0000

    NIFI-13184 - mark invalid processors to start once they become valid (#8809)
---
 .../src/main/java/org/apache/nifi/groups/ProcessGroup.java             | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
 
b/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
index 44d3359c74..a2822995bc 100644
--- 
a/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
+++ 
b/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
@@ -18,7 +18,6 @@ package org.apache.nifi.groups;
 
 import org.apache.nifi.authorization.resource.ComponentAuthorizable;
 import org.apache.nifi.components.VersionedComponent;
-import org.apache.nifi.components.validation.ValidationStatus;
 import org.apache.nifi.connectable.Connectable;
 import org.apache.nifi.connectable.Connection;
 import org.apache.nifi.connectable.Funnel;
@@ -68,7 +67,7 @@ public interface ProcessGroup extends ComponentAuthorizable, 
Positionable, Versi
     /**
      * Predicate for starting eligible Processors.
      */
-    Predicate<ProcessorNode> START_PROCESSORS_FILTER = node -> 
!node.isRunning() && !ScheduledState.DISABLED.equals(node.getScheduledState()) 
&& node.getValidationStatus() == ValidationStatus.VALID;
+    Predicate<ProcessorNode> START_PROCESSORS_FILTER = node -> 
!node.isRunning() && !ScheduledState.DISABLED.equals(node.getScheduledState());
 
     /**
      * Predicate for stopping eligible Processors.

Reply via email to