AMashenkov commented on code in PR #2413:
URL: https://github.com/apache/ignite-3/pull/2413#discussion_r1286080698


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/ExecutionServiceImpl.java:
##########
@@ -330,7 +330,10 @@ private AsyncCursor<List<Object>> 
executeExplain(ExplainPlan plan) {
     private void onMessage(String nodeName, QueryStartRequest msg) {
         assert nodeName != null && msg != null;
 
-        CompletableFuture<?> fut = 
sqlSchemaManager.actualSchemaAsync(msg.schemaVersion());
+        //TODO IGNITE-18733: We should use txTimestamp from message tx 
attributes to wait for metadata ready,
+        // then get actual version for txTimestamp and wait for catalog 
version ready.
+        // As optimization, we can lookup for latest available schema and go 
sync way if it's version >= desirable.

Review Comment:
   Do you mean we shouldn't get rid of catalogVersion in message?
   We already have an TxTimestmap that unambiguously maps to catalog version.



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