You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/08/01 09:18:00 UTC

[jira] [Commented] (IGNITE-15208) Remove unnecessary rebalance order classes for exchange thread

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

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

{panel:title=Branch: [pull/9285/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9285/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6111180&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Remove unnecessary rebalance order classes for exchange thread
> --------------------------------------------------------------
>
>                 Key: IGNITE-15208
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15208
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Major
>             Fix For: 2.12
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Some pieces of code related to the ordering of cache groups for the rebalance procedure can be removed. These parts of the code have been written to support Ignite under java 7 and no more actual.
> E.g. 
> {code}
> for (Map.Entry<Integer, GridDhtPreloaderAssignments> e : assignsMap.entrySet()) {
>     int grpId = e.getKey();
>     CacheGroupContext grp = cctx.cache().cacheGroup(grpId);
>     CacheRebalanceOrder order = new CacheRebalanceOrder(
>         grp.config().getRebalanceOrder(),
>         grp.config().getRebalanceMode());
>     if (orderMap.get(order) == null)
>         orderMap.put(order, new ArrayList<Integer>(size));
>     orderMap.get(order).add(grpId);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)