[
https://issues.apache.org/jira/browse/IGNITE-15208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395003#comment-17395003
]
Maxim Muzafarov commented on IGNITE-15208:
------------------------------------------
Merged to the master branch. Thank you for the review.
> 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: 1.5h
> 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)