korlov42 commented on code in PR #3653:
URL: https://github.com/apache/ignite-3/pull/3653#discussion_r1583237855


##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/storage/NewZoneEntry.java:
##########
@@ -72,13 +72,17 @@ public CatalogEventParameters createEventParameters(long 
causalityToken, int cat
     public Catalog applyUpdate(Catalog catalog, long causalityToken) {
         descriptor.updateToken(causalityToken);
 
+        int defaultZoneId = catalog.defaultZone() != null
+                ? catalog.defaultZone().id()
+                : descriptor.id();

Review Comment:
   Discussed this in private and decided such behavior may obscure the problem, 
and, as result, the user may discover it too late when tables created in wrong 
zone have already a lot of data.
   
   removed updating of default in NewZoneEntry



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