sergey-chugunov-1985 commented on code in PR #12449:
URL: https://github.com/apache/ignite/pull/12449#discussion_r2454654216


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheContext.java:
##########
@@ -2214,7 +2214,11 @@ else if (type == EVT_CACHE_REBALANCE_STOPPED) {
 
         for (ClusterNode node : affNodes) {
             if ((canRemap || discovery().alive(node)) && 
!invalidNodes.contains(node)) {
-                if (locMacs.equals(node.attribute(ATTR_MACS)))
+                if (localNode().dataCenterId() != null) {

Review Comment:
   We should prioritize node with the same MAC address here, so lets switch 
these two checks: put the MACs check first and then the DC_ID check.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to