[
https://issues.apache.org/jira/browse/IGNITE-10821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16729758#comment-16729758
]
ASF GitHub Bot commented on IGNITE-10821:
-----------------------------------------
GitHub user Jokser opened a pull request:
https://github.com/apache/ignite/pull/5766
IGNITE-10821 Affinity recalculation optimizations
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-10821
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/5766.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 #5766
----
commit a74768fdcb80d68370c504da225a8dfb9db9f7ec
Author: Pavel Kovalenko <jokserfn@...>
Date: 2018-12-27T17:52:54Z
IGNITE-10821 Optimize reassignment enforce on coordinator.
Signed-off-by: Pavel Kovalenko <[email protected]>
----
> Caching affinity with affinity similarity key is broken
> -------------------------------------------------------
>
> Key: IGNITE-10821
> URL: https://issues.apache.org/jira/browse/IGNITE-10821
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.8
> Reporter: Pavel Kovalenko
> Assignee: Pavel Kovalenko
> Priority: Major
> Fix For: 2.8
>
>
> When some cache groups have the same affinity function, number of partitions,
> backups and the same node filter they can use the same affinity distribution
> without needs for explicit recalculating. These parameters are called as
> "Affinity similarity key".
> In case of affinity recalculation caching affinity using this key may
> speed-up the process.
> However, after https://issues.apache.org/jira/browse/IGNITE-9561 merge this
> mechanishm become broken, because parallell execution of affinity
> recalculation for the similar affinity groups leads to caching affinity
> misses.
> To fix it we should couple together similar affinity groups and run affinity
> recalculation for them in one thread, caching previous results.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)