[
https://issues.apache.org/jira/browse/IGNITE-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885760#comment-15885760
]
Taras Ledkov commented on IGNITE-4756:
--------------------------------------
[~yzhdanov], If we are going to print only nodes that differ on +/-10% from
average partitions count we can print problem message looks like:
{noformat}
[cacheName=NAME, nodes=[nodeId=<ID, totalPartitionsCount=<count>,
percentageOfTotalPartsCount=<percentage>, parts=[<count>, ...,<count>]]
{noformat}
Where the first element of parts array is a count of primary partitions, the
second is count of backup0 partitions etc.
I think default value of the property
{{IGNITE_PART_DISTRIBUTION_WARN_THRESHOLD}} must disable distribution
calculation because it takes {{<caches_count> * <parttitons_count> *
<nodes_count>}} operations per node.
> Print info about partition distribution to log
> -----------------------------------------------
>
> Key: IGNITE-4756
> URL: https://issues.apache.org/jira/browse/IGNITE-4756
> Project: Ignite
> Issue Type: Improvement
> Components: general
> Reporter: Taras Ledkov
> Priority: Minor
> Labels: newbie
> Fix For: 2.0
>
>
> Print information about affinity assignment to log.
> e.g.:
> {noformat}
> <cache_name>: primary, [<node_ID_0>, <partitions_count>,
> <percentage_of_parts_count>], ..., [<node_ID_N>, <partitions_count>,
> <percentage_of_parts_count>]
> <cache_name>: backup_0, [<node_ID_0>, <partitions_count>,
> <percentage_of_parts_count>], ..., [<node_ID_N>, <partitions_count>,
> <percentage_of_parts_count>]
> ...
> <cache_name>: backup_N, [<node_ID_0>, <partitions_count>,
> <percentage_of_parts_count>], ..., [<node_ID_N>, <partitions_count>,
> <percentage_of_parts_count>]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)