sanpwc commented on code in PR #1532:
URL: https://github.com/apache/ignite-3/pull/1532#discussion_r1072526295


##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/DistributionZoneManager.java:
##########
@@ -791,9 +813,19 @@ public boolean onUpdate(@NotNull WatchEvent evt) {
 
                             logicalTopology = newLogicalTopology;
 
-                            
zonesConfiguration.distributionZones().value().namedListKeys()
+                            Stream.of(

Review Comment:
   I'd rather encapsulate all actions to be performed with zone  into some 
fooBar method and simply call fooBar for defaultZone and fooBar for all other 
zones from the list.



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