[ 
https://issues.apache.org/jira/browse/IGNITE-29224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134034#comment-18134034
 ] 

Ignite TC Bot commented on IGNITE-29224:
----------------------------------------

{panel:title=Branch: [pull/13767/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/13767/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9451156&buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9451156 
rerunBuildIds=9452677,9452679,9452681,9452683{color}

> Misleading affinity history error when ready affinity version lags behind 
> exchange future completion
> ----------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-29224
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29224
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>         Attachments: ready-affinity-version-reproducer.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{awaitPartitionMapExchange()}} can fail with:
> {noformat}
> Getting affinity for too old topology version that is already out of history
> {noformat}
> This message is misleading in this case: no affinity history has been 
> evicted. The exchange future is already completed, but 
> {{readyAffinityVersion()}} is updated later in its completion listener. 
> During this gap, {{awaitPartitionMapExchange()}} can request affinity for a 
> version preceding the creation of the cache. Increasing 
> {{IGNITE_AFFINITY_HISTORY_SIZE}} does not address this race.
> The waiting logic should account for publication of the ready affinity 
> version, and the diagnostic should distinguish this case from actual history 
> eviction.
> *Reproducer:* apply [^ready-affinity-version-reproducer.patch] and run 
> {{AwaitPartitionMapExchangeReadyVersionTest#testWaitPartitionMapExchangeWithLagOfReadyAffinity}}.
>  The patch adds a temporary pause before the ready affinity version is 
> published. It is diagnostic code supplied only for reproduction and is not 
> intended to be committed.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to