You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2020/02/03 15:50:00 UTC
[jira] [Updated] (IGNITE-12618) Affinity cache for version of last
server event can be wiped from history
[ https://issues.apache.org/jira/browse/IGNITE-12618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vyacheslav Koptilin updated IGNITE-12618:
-----------------------------------------
Description:
After IGNITE-11465 implemented, there's still a corner case when we can get "Getting affinity for topology version earlier than affinity is calculated" error.
If the whole history (not more than GridAffinityAssignmentCache#MAX_HIST_LINKS_SIZE entries) consists of shallow copies for client events, we may be not able to fetch affinity cache for last affinity change version.
We need to make GridAffinityAssignmentCache#cachedAffinity work if affinity version no less than [last affinity change version] is passed as an argument.
was:
After IGNITE-11465 RESOLVED implemented, there's still a corner case when we can get "Getting affinity for topology version earlier than affinity is calculated" error.
If the whole history (not more than GridAffinityAssignmentCache#MAX_HIST_LINKS_SIZE entries) consists of shallow copies for client events, we may be not able to fetch affinity cache for last affinity change version.
We need to make GridAffinityAssignmentCache#cachedAffinity work if affinity version no less than [last affinity change version] is passed as an argument.
> Affinity cache for version of last server event can be wiped from history
> -------------------------------------------------------------------------
>
> Key: IGNITE-12618
> URL: https://issues.apache.org/jira/browse/IGNITE-12618
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.8
> Reporter: Vyacheslav Koptilin
> Assignee: Vyacheslav Koptilin
> Priority: Major
> Fix For: 2.9
>
>
> After IGNITE-11465 implemented, there's still a corner case when we can get "Getting affinity for topology version earlier than affinity is calculated" error.
> If the whole history (not more than GridAffinityAssignmentCache#MAX_HIST_LINKS_SIZE entries) consists of shallow copies for client events, we may be not able to fetch affinity cache for last affinity change version.
> We need to make GridAffinityAssignmentCache#cachedAffinity work if affinity version no less than [last affinity change version] is passed as an argument.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)