You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2021/03/08 20:55:00 UTC

[jira] [Created] (NIFI-8300) Make non-source processors invalid if scheduled for Primary Node only

Mark Payne created NIFI-8300:
--------------------------------

             Summary: Make non-source processors invalid if scheduled for Primary Node only
                 Key: NIFI-8300
                 URL: https://issues.apache.org/jira/browse/NIFI-8300
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: Mark Payne


There is never a reason a to schedule a processor to run on Primary Node Only unless the processor is a source processor. However, we see this misused fairly frequently, and it can result in data not moving through the system. We should update the processor validation logic so that a processor is made invalid if has an Execution Node of Primary Node Only and has any incoming connections.

This includes self-looping connections. Otherwise, Node A can be primary node, and then queue up data. Node B then becomes Primary Node, leaving data sitting on Node A indefinitely. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)