alievmirza commented on code in PR #2070:
URL: https://github.com/apache/ignite-3/pull/2070#discussion_r1210054539
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -544,16 +548,60 @@ private CompletableFuture<?>
onTableCreate(ConfigurationNotificationEvent<TableV
}
try {
- return createTableLocally(
+ DistributionZoneView zone =
+ getZoneById(distributionZonesConfiguration,
(ctx.newValue()).zoneId()).value();
+
+ List<Set<Assignment>> assignments =
AffinityUtils.calculateAssignments(
+
baselineMgr.nodes().stream().map(ClusterNode::name).collect(toList()),
Review Comment:
I think that we shouldn't use here baseline manger, what do you think about
`DistributionZoneManager#topologyVersionedDataNodes` while proper solution with
causality token is not implemented?
In any cases, we need to add todo here to use proper method
--
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]