Skip to content

Commit

Permalink
NIFI-13184 - mark invalid processors to start once they become valid (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
greyp9 authored Jun 18, 2024
1 parent dda4282 commit dfd1276
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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;
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit dfd1276

Please sign in to comment.