Maxim Muzafarov created IGNITE-15208:
----------------------------------------
Summary: 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
Fix For: 2.12
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)