Konstantin Orlov created IGNITE-16918:
-----------------------------------------

             Summary: Sql. Races during table creation
                 Key: IGNITE-16918
                 URL: https://issues.apache.org/jira/browse/IGNITE-16918
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Konstantin Orlov


Random tests fails on TC with the very same error (table name is varying 
though):
{code:java}
Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Object 
'TEST1' not found
{code}
 

Looks like the root cause of this problem is race in between of completion of 
the future returned by {{TableManager#createTableAsync}} invocation and 
committing a temporal value of {{calciteSchemaVv}} (which was assigned by the 
event handling) by revision update callback.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to