[jira] [Created] (IGNITE-12618) Affinity cache for version of last server event can be wiped from history

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12618) Affinity cache for version of last server event can be wiped from history

Anton Vinogradov (Jira)
Vyacheslav Koptilin created IGNITE-12618:
--------------------------------------------

             Summary: 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
             Fix For: 2.9


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)