You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2022/06/01 08:22:00 UTC
[jira] [Assigned] (IGNITE-16918) Sql. Races during table creation
[ https://issues.apache.org/jira/browse/IGNITE-16918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladislav Pyatkov reassigned IGNITE-16918:
------------------------------------------
Assignee: Vladislav Pyatkov (was: Denis Chudov)
> 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: Vladislav Pyatkov
> Priority: Blocker
> Labels: ignite-3
>
> Random tests fails on TC with the very same error (table name is varying though):
> {code:java}
> [14:04:04][executesColocatedWithMappedKey] java.util.concurrent.CompletionException
> [14:04:04][executesColocatedWithMappedKey] java.util.concurrent.CompletionException: org.apache.calcite.runtime.CalciteContextException: From line 1, column 13 to line 1, column 16: Object 'TEST' not found
> Caused by: org.apache.calcite.runtime.CalciteContextException: From line 1, column 13 to line 1, column 16: Object 'TEST' not found
> Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Object 'TEST' 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)