alievmirza commented on code in PR #5584:
URL: https://github.com/apache/ignite-3/pull/5584#discussion_r2046648859


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java:
##########
@@ -414,8 +430,10 @@ private CompletableFuture<Void> resetPartitions(
 
             partitionIds.values().forEach(ids -> checkPartitionsRange(ids, 
Set.of(zone)));
 
+            // Negative zone id for disabled colocation - avoiding 
serialization change.
+            int zoneId = colocationEnabled ? zone.id() : -zone.id();

Review Comment:
   are we sure that there can't be zoneId == 0? 



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to