nifi/nifi-toolkit
Mark Payne 65b2a9bc2c
NIFI-7117: When SocketLoadBalancedFlowFileQueue creates its array of Queue Partitions in the constructor, it added the local partition as the first element in that list. This list should be ordered the same across all nodes in the cluster. By making the local partition the first in the array, each node had a different ordering of these partitions. As a result, Partition by Attribute strategy would constantly rebalance flowfiles that it received to other node, and Single Node always transferred data to the first partition, which was the local node, instead of whichever node should have been the first in the list. This commit addresses this issue by instead inserting the local partition intot he 'queuePartitions' array based on the local node identifier.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4045.
2020-02-11 10:59:19 -08:00
..
nifi-toolkit-admin NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-toolkit-api NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-toolkit-assembly NIFI-7082 Updated tls-toolkit default server and client certificates validity days to 825 days. (#4046) 2020-02-10 17:22:49 -08:00
nifi-toolkit-cli NIFI-7117: When SocketLoadBalancedFlowFileQueue creates its array of Queue Partitions in the constructor, it added the local partition as the first element in that list. This list should be ordered the same across all nodes in the cluster. By making the local partition the first in the array, each node had a different ordering of these partitions. As a result, Partition by Attribute strategy would constantly rebalance flowfiles that it received to other node, and Single Node always transferred data to the first partition, which was the local node, instead of whichever node should have been the first in the list. This commit addresses this issue by instead inserting the local partition intot he 'queuePartitions' array based on the local node identifier. 2020-02-11 10:59:19 -08:00
nifi-toolkit-encrypt-config NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-toolkit-flowanalyzer NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-toolkit-flowfile-repo NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-toolkit-s2s NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-toolkit-tls NIFI-7082 Updated tls-toolkit default server and client certificates validity days to 825 days. (#4046) 2020-02-10 17:22:49 -08:00
nifi-toolkit-zookeeper-migrator NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
pom.xml NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00