[
https://issues.apache.org/jira/browse/NIFI-6518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297917#comment-17297917
]
ASF subversion and git services commented on NIFI-6518:
-------------------------------------------------------
Commit 79121a142ee2c0cf70ec3cd5dab180a23661602a in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=79121a1 ]
NIFI-6518: If processor is scheduled to run on Primary Node Only, and 'this'
node is not primary node, yield for the bored yield duration.
Signed-off-by: Pierre Villard <[email protected]>
This closes #4875.
> Processors that are run on Primary Node Only should yield on all other nodes
> ----------------------------------------------------------------------------
>
> Key: NIFI-6518
> URL: https://issues.apache.org/jira/browse/NIFI-6518
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.14.0, 1.13.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In `ConnectableTask`, if a task is triggered on a node other than Primary
> Node and the Processor is scheduled to run on Primary Node only, the
> Processor should yield the "bored yield duration" because it cannot possibly
> make any progress. At the moment, it does not yield, which means that it will
> use up resources needlessly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)