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


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -542,11 +456,14 @@ private void createTableLocally(long causalityToken, 
String name, UUID tblId, in
             throw new 
IgniteInternalException(IgniteStringFormatter.format("Cannot create a table 
[name={}, id={}]", name, tblId), th);
         });
 
-        CompletableFuture.allOf(tablesByIdVv.get(causalityToken), 
tablesVv.get(causalityToken)).thenRun(() -> {
+        // TODO should be reworked in IGNITE-16763
+        schemaFut.thenCompose(v -> 
tablesByIdVv.get(causalityToken)).thenRun(() -> {

Review Comment:
   Why does the composed future required?



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