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/01/10 09:24:00 UTC

[jira] [Commented] (IGNITE-16235) Races between query execution and table creation

    [ https://issues.apache.org/jira/browse/IGNITE-16235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471789#comment-17471789 ] 

Vladislav Pyatkov commented on IGNITE-16235:
--------------------------------------------

For the delay of events from Metastorage the WatchListenerInhibitor is used.

> Races between query execution and table creation
> ------------------------------------------------
>
>                 Key: IGNITE-16235
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16235
>             Project: Ignite
>          Issue Type: Test
>          Components: sql
>            Reporter: Konstantin Orlov
>            Assignee: Evgeny Stanilovsky
>            Priority: Major
>
> While the IGNITE-16090 fixes the issue, the provided patch lacks of proper integration test that would verify the fix automatically. So we need to add the test with follow scenario:
> - cluster of 2 or more nodes is started
> - create a table and immediately run a query upon that table
> To reveal the original issue, we need to delay ditributed event of a table creation on the node somehow in order to make the query be executed before the table structures were created. 
> I believe this is not the only such a test, so we need a general approach to write tests to verify the cluster behaviour in a concurrent environment. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)