ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Ledkov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4756) Print info about partition distribution to log
Date Fri, 07 Jul 2017 14:53:00 GMT

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

Taras Ledkov updated IGNITE-4756:
---------------------------------
    Description: 
Summarize discussions:
Add log message in case partitions distribution is not close to even distribution:

# Add system property IGNITE_PART_DISTRIBUTION_WARN_THRESHOLD with default value 0.1 to print
warn message only when nodes count differs more then threshold;
# The statistic is calculated and printed only for the local node;
# Message format is
{noformat}
Affinity assignment distribution is not even [cache=<cache_name>, ideal=<ideal_partitions_count>,
distribution=[<partitions_count_primary>, <partitions_count_backup0> ..., <partitions_count_backupN>]].
{noformat}
e.g. for cache with name "test", 2 backups and (partitions count / nodes count) == 100 :
{noformat}
Affinity assignment distribution is not even [cache=test, ideal=100 (10%), distribution=[100
(10%), 150 (15%), 500 (50%)]].
{noformat}

  was:
Summarize discussions:
Add log message in case partitions distribution is not close to even distribution:

# Add system property IGNITE_PART_DISTRIBUTION_WARN_THRESHOLD with default value 0.1 to print
warn message only when nodes count differs more then threshold;
# The statistic is calculated and printed only for the local node;
# Message format is
{noformat}
Affinity assignment distribution is not even [cache=<cache_name>, even=<golden_partitions_count>,
distribution=[<partitions_count_primary>, <partitions_count_backup0> ..., <partitions_count_backupN>]].
{noformat}
e.g. for cache with name "test", 2 backups and (partitions count / nodes count) == 100 :
{noformat}
Affinity assignment distribution is not even [cache=test, even=100 (10%), distribution=[100
(10%), 150 (15%), 500 (50%)]].
{noformat}


> 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
>            Assignee: Vadim Opolski
>            Priority: Minor
>              Labels: newbie
>             Fix For: 2.2
>
>
> Summarize discussions:
> Add log message in case partitions distribution is not close to even distribution:
> # Add system property IGNITE_PART_DISTRIBUTION_WARN_THRESHOLD with default value 0.1
to print warn message only when nodes count differs more then threshold;
> # The statistic is calculated and printed only for the local node;
> # Message format is
> {noformat}
> Affinity assignment distribution is not even [cache=<cache_name>, ideal=<ideal_partitions_count>,
distribution=[<partitions_count_primary>, <partitions_count_backup0> ..., <partitions_count_backupN>]].
> {noformat}
> e.g. for cache with name "test", 2 backups and (partitions count / nodes count) == 100
:
> {noformat}
> Affinity assignment distribution is not even [cache=test, ideal=100 (10%), distribution=[100
(10%), 150 (15%), 500 (50%)]].
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message