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

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

Docs Required cleared. I verified PR #13263 / commit 
56c847eb7c513170a64f85ca0d408e0919b6f42c in CacheAffinitySharedManager and 
CacheAffinityCoordinatorInitTest. The fix is an internal cache-affinity 
initialization race during node join / dynamic cache creation and does not 
introduce or change a user-facing API, configuration option, command, 
documentation page, or operational procedure requiring separate documentation. 
Release Notes Required is left unchanged.

> CacheAffinitySharedManager may fail with "Invalid exchange futures state" 
> when thin clients create dynamic caches during cluster restart
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-28806
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28806
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Oleg Valuyskiy
>            Assignee: Oleg Valuyskiy
>            Priority: Minor
>              Labels: ise
>         Attachments: ThinClientDynamicCachePressureOnRestartTest.patch
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> A server node may fail during the first local join exchange if thin clients 
> concurrently issue *getOrCreateCache()* requests when cluster is starting. 
> Dynamic cache group descriptors can become visible in *cachesRegistry* before 
> the corresponding local *CacheGroupContext* is created.
> In this state, *CacheAffinitySharedManager#initCoordinatorCaches* is called 
> with {*}newAff=false{*}, enters the *grp == null* branch, and tries to fetch 
> affinity from a previous completed exchange. For the first local join 
> exchange there is no previous exchange, which may lead to:
> {code:java}
> AssertionError: Invalid exchange futures state [cur=..., total=...]{code}
> Reproducer:
> [^ThinClientDynamicCachePressureOnRestartTest.patch]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to