[
https://issues.apache.org/jira/browse/NIFI-4180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-4180.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> Site To Site Port Math Seemingly Incorrect
> ------------------------------------------
>
> Key: NIFI-4180
> URL: https://issues.apache.org/jira/browse/NIFI-4180
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.2.0
> Environment: SLES 11
> Reporter: Tommy Young
> Priority: Minor
>
> It seems as though Nifi is either using something other than flow file count
> when logging the "will receive x% of data" message (in which case it would be
> nice to print the value of what it is using in the logs) OR there is a math
> error, based on the below log messages.
> PeerStatus[hostname=node1,port=9090,secure=true,flowFileCount=0] will receive
> 0.78125% of data
> PeerStatus[hostname=node2,port=9090,secure=true,flowFileCount=2] will receive
> 28.125% of data
> PeerStatus[hostname=node3,port=9090,secure=true,flowFileCount=5] will receive
> 71.09375% of data
> PeerStatus[hostname=node1,port=9090,secure=true,flowFileCount=0] will receive
> 0.9615384615384616% of data
> PeerStatus[hostname=node3,port=9090,secure=true,flowFileCount=0] will receive
> 0.9615384615384616% of data
> PeerStatus[hostname=node2,port=9090,secure=true,flowFileCount=1] will receive
> 98.07692307692308% of data
--
This message was sent by Atlassian Jira
(v8.20.10#820010)