zstan commented on code in PR #1134:
URL: https://github.com/apache/ignite-3/pull/1134#discussion_r988578305


##########
modules/schema/src/main/java/org/apache/ignite/internal/schema/registry/SchemaRegistryImpl.java:
##########
@@ -86,7 +87,11 @@ public SchemaDescriptor schema(int ver) {
             return desc;
         }
 
-        desc = history.apply(ver);
+        CompletableFuture<SchemaDescriptor> descFut = history.apply(ver);
+
+        if (descFut != null) {
+            desc = descFut.join();

Review Comment:
   I will fill the issue after this code will be merged, i can`t create the 
issue for non merged code.



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