[ 
https://issues.apache.org/jira/browse/IGNITE-16918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Chudov updated IGNITE-16918:
----------------------------------
    Description: 
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.

Example: ItComputeTest.executesColocatedWithMappedKey is flaky with exception 
above.

  was:
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.


> 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
>            Assignee: Denis Chudov
>            Priority: Blocker
>              Labels: ignite-3
>
> 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.
> Example: ItComputeTest.executesColocatedWithMappedKey is flaky with exception 
> above.



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

Reply via email to