ascherbakoff commented on a change in pull request #6942: IGNITE-9913 URL: https://github.com/apache/ignite/pull/6942#discussion_r334233883
########## File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java ########## @@ -3839,7 +3969,14 @@ private void finalizePartitionCounters() { cctx.kernalContext().getSystemExecutorService(), nonLocalCacheGroups(), grp -> { - grp.topology().finalizeUpdateCounters(); + AffinityTopologyVersion topVer = sharedContext().exchange().readyAffinityVersion(); + + // Failed node's primary partitions or just all local backups in case of possible exchange merge. + Set<Integer> parts = nodeId != null ? Review comment: Is this intended as an optimization ? This is not really needed, because here all possible updates are received and all remaining gaps could be safely removed. ---------------------------------------------------------------- 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