[
https://issues.apache.org/jira/browse/IGNITE-11147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038999#comment-17038999
]
Alexey Scherbakov commented on IGNITE-11147:
--------------------------------------------
Guys,
Looks like the patch has an issue.
It's possible to have parallel rebalancing of multiple groups, because chain is
processed even if future was cancelled.
We must stop chain processing if result was false:
{noformat}
@Override public boolean onDone(@Nullable Boolean res, @Nullable
Throwable err) {
if (super.onDone(res, err)) {
if (res && next != null)
next.init(); // Go to next item in chain only for
successful rebalance completion.
return true;
}
return false;
}
{noformat}
> Re-balance cancellation occur by non-affected event
> ---------------------------------------------------
>
> Key: IGNITE-11147
> URL: https://issues.apache.org/jira/browse/IGNITE-11147
> Project: Ignite
> Issue Type: Test
> Components: cache
> Affects Versions: 2.7
> Reporter: Sergey Antonov
> Assignee: Vladislav Pyatkov
> Priority: Critical
> Fix For: 2.9
>
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
> Re-balance cancels by non-affected events, for examples:
> 1) joining non affinity node
> 2) stating snapshot
> 3) starting/stopping other cache
> Try to skip as more as possible events instead of cancellation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)