xtern commented on a change in pull request #6951: Ignite 11073 12069 P2P Rebalance collaboration work URL: https://github.com/apache/ignite/pull/6951#discussion_r408767897
########## File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java ########## @@ -3181,34 +3179,47 @@ private void assignPartitionStates(GridDhtPartitionTopology top) { assert nodeCntrs != null; - for (int i = 0; i < nodeCntrs.size(); i++) { - int p = nodeCntrs.partitionAt(i); + if (nodeCntrs.isEmpty()) { Review comment: Done, thanks. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services