You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/09 07:53:00 UTC

[jira] [Commented] (NIFI-6518) Processors that are run on Primary Node Only should yield on all other nodes

    [ https://issues.apache.org/jira/browse/NIFI-6518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297919#comment-17297919 ] 

ASF subversion and git services commented on NIFI-6518:
-------------------------------------------------------

Commit e54ef97df1220b5cba2cd8f7ad1644b15bc173eb in nifi's branch refs/heads/support/nifi-1.13 from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e54ef97 ]

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 <pi...@gmail.com>

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: 20m
>  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)