Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15208

Remove unnecessary rebalance order classes for exchange thread

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.12
    • None
    • None

    Description

      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.

      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);
      }
      

      Attachments

        Issue Links

          Activity

            People

              mmuzaf Maxim Muzafarov
              mmuzaf Maxim Muzafarov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m