[
https://issues.apache.org/jira/browse/IGNITE-11214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766065#comment-16766065
]
Vyacheslav Koptilin commented on IGNITE-11214:
----------------------------------------------
Hi [~agoncharuk] ,
The proposed change looks good to me. Please proceed with the merge.
> IgniteCacheAtomicPutAllFailoverSelfTest fails with "Cannot find cache"
> ----------------------------------------------------------------------
>
> Key: IGNITE-11214
> URL: https://issues.apache.org/jira/browse/IGNITE-11214
> Project: Ignite
> Issue Type: Test
> Reporter: Alexey Goncharuk
> Assignee: Alexey Goncharuk
> Priority: Major
> Labels: MakeTeamcityGreenAgain
> Fix For: 2.8
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In the test local node does not have a cache started, but calls
> {{affinity.map...}} which causes the node to fetch affinity from the cluster.
> Due to a race the local node may observe {{readyAffinityVer ==
> AffinityTopologyVersion(1,0)}} which is fine, but it requests the affinity
> using this topology version, which results in a missed affinity exception.
> Suggested solution is to use {{max(readyAffinityVersion,
> discovery.topologyVersionEx)}} when fetching affinity from remote nodes (a
> node does not have the cache context started).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)