[ https://issues.apache.org/jira/browse/IGNITE-15208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17394883#comment-17394883 ]
Vyacheslav Koptilin commented on IGNITE-15208: ---------------------------------------------- Hi [~mmuzaf], The patch looks good to me. Thank you for your efforts! > 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: 1h 20m > 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)