[
https://issues.apache.org/jira/browse/IGNITE-9550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613216#comment-16613216
]
Alexey Goncharuk commented on IGNITE-9550:
------------------------------------------
The issue is caused by a race between
{{tx.shared().exchange().readyAffinityVersion()}} and
{{ctx.shared().exchange().lastFinishedFuture().topologyVersion()}}.
As a result, a get request which is mapped on topology version {{N+1}} is
validated with exchange future of topology version {{N}}, thus return {{null}}
instead of throwing an exception.
As a solution, I suggest to get rid of a separate field for
{{readyAffinityVersion()}} and always use the latest exchange future.
> Get operation returns null for a lost partition with READ_SAFE policy
> ---------------------------------------------------------------------
>
> Key: IGNITE-9550
> URL: https://issues.apache.org/jira/browse/IGNITE-9550
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.6
> Reporter: Pavel Vinokurov
> Assignee: Pavel Vinokurov
> Priority: Major
> Attachments: PartitionLostReproducer.java
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)