[ 
https://issues.apache.org/jira/browse/IGNITE-9561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630370#comment-16630370
 ] 

ASF GitHub Bot commented on IGNITE-9561:
----------------------------------------

GitHub user Jokser opened a pull request:

    https://github.com/apache/ignite/pull/4854

    IGNITE-9561 Parallelize affinity calculation and partitions assignment 
during PME

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-9561

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/4854.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4854
    
----
commit 2e8a92734a45b3c6861c98e04d4a2aa4dee09551
Author: Pavel Kovalenko <jokserfn@...>
Date:   2018-09-27T12:59:31Z

    IGNITE-9561 Parallelize affinity initialization and recalculation, 
partitions validation and assignment.

----


> Optimize affinity initialization for started cache groups
> ---------------------------------------------------------
>
>                 Key: IGNITE-9561
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9561
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: 2.5
>            Reporter: Pavel Kovalenko
>            Assignee: Pavel Kovalenko
>            Priority: Major
>             Fix For: 2.8
>
>
> At the end of
> {noformat}
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager#processCacheStartRequests
>  
> {noformat}
> method we're initializing affinity for cache groups starting at current 
> exchange.
> We do it one-by-one and synchronously wait for AffinityFetchResponse for each 
> of the starting groups. This is inefficient. We may parallelize this process 
> and speed up caches starting process.
> NOTE: There are also a lot of affinity recalculation methods in: 
> {noformat}
> CacheAffinitySharedManager
> {noformat}
> which all looks like iterate over cache groups and recalculate affinity for 
> all of them. We can easily speed-up each of such methods executing in 
> parallel affinity re-calculation for each of cache groups.



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

Reply via email to