You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Truong Duc Kien (JIRA)" <ji...@apache.org> on 2019/03/27 02:10:00 UTC

[jira] [Resolved] (NIFI-5870) Possible race condition when receiving flow files from peers during load balancing.

     [ https://issues.apache.org/jira/browse/NIFI-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Truong Duc Kien resolved NIFI-5870.
-----------------------------------
    Resolution: Duplicate

> Possible race condition when receiving flow files from peers during load balancing.
> -----------------------------------------------------------------------------------
>
>                 Key: NIFI-5870
>                 URL: https://issues.apache.org/jira/browse/NIFI-5870
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Truong Duc Kien
>            Priority: Major
>
> The queue size should always be adjusted before FlowFiles are added into the local partition, as explained in the method \{{putAllAndGetPartitions}} . However, the method \{{receiveFromPeer}} is doing it backward.
>  
> https://github.com/apache/nifi/blob/234ddb0fe1a36ad947c340114058d82c777d791f/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/queue/clustered/SocketLoadBalancedFlowFileQueue.java#L772



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