markap14 commented on code in PR #11515:
URL: https://github.com/apache/nifi/pull/11515#discussion_r3779032976
##########
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceProvider.java:
##########
@@ -264,6 +296,28 @@ private boolean isRunningOrStarting(final
ReportingTaskNode node) {
return scheduledState == ScheduledState.RUNNING || scheduledState ==
ScheduledState.STARTING;
}
+ /**
+ * Returns the explicit stateless process group that the given process
group belongs to, or {@code null} if the
+ * process group is not part of a stateless group. A group whose execution
engine is {@code INHERITED} resolves to
+ * its nearest ancestor that explicitly declares an execution engine.
+ */
+ private ProcessGroup getStatelessGroup(final ProcessGroup start) {
Review Comment:
Oh good catch. Yeah, would be a good idea to do that as a follow-on, thanks!
--
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]