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

ASF GitHub Bot commented on NIFI-5812:
--------------------------------------

Github user patricker commented on the issue:

    https://github.com/apache/nifi/pull/3167
  
    @mattyb149 I'm in agreement, but I feel like the spirit of this ticket is 
still an interesting direction to look at.  How do you prevent QDB or GTF from 
running against the same table on two nodes or two threads at the same time? 
Multiple threads sounds reasonable, through some kind of lock in the processor, 
but across multiple nodes? Would be interesting to come up with a solution.


> Make database processors as 'PrimaryNodeOnly'
> ---------------------------------------------
>
>                 Key: NIFI-5812
>                 URL: https://issues.apache.org/jira/browse/NIFI-5812
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework, Extensions
>    Affects Versions: 1.7.0, 1.8.0, 1.7.1
>            Reporter: Sivaprasanna Sethuraman
>            Assignee: Sivaprasanna Sethuraman
>            Priority: Major
>
> With NIFI-543, we have introduced an behavior annotation to mark a particular 
> processor to run only on the Primary Node. It is recommended to mark the 
> following database related processors as 'PrimaryNodeOnly':
>  * QueryDatabaseTable
>  * GenerateTableFetch



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to