vldpyatkov commented on code in PR #3422:
URL: https://github.com/apache/ignite-3/pull/3422#discussion_r1565949687


##########
modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java:
##########
@@ -596,10 +611,18 @@ public class IgniteImpl implements Ignite {
                 logicalTopologyService,
                 raftMgr,
                 topologyAwareRaftGroupServiceFactory,
-                clockService
-        );
+                clockService,
+                tablePartId -> {
+                    CatalogTableDescriptor tbl = 
catalogManager.table(tablePartId.tableId(), 
catalogManager.latestCatalogVersion());
 
-        ReplicationConfiguration replicationConfig = 
clusterConfigRegistry.getConfiguration(ReplicationConfiguration.KEY);
+                    int zoneId = tbl == null ? 2 : tbl.zoneId();

Review Comment:
   Right now, we do not have a specific constant. We should create a specific 
ticket to define it.
   Any way, it is a temporary solution that would be fixed before merging to 
main.



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