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 2021/05/24 13:51:00 UTC

[jira] [Created] (IGNITE-14773) Implement a method which can get a table or wait until it wasn't initialized

Vladislav Pyatkov created IGNITE-14773:
------------------------------------------

             Summary: Implement a method which can get a table or wait until it wasn't initialized
                 Key: IGNITE-14773
                 URL: https://issues.apache.org/jira/browse/IGNITE-14773
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov
            Assignee: Vladislav Pyatkov


When a try of table creation was invoked in another thread, a client risks getting null value until table has been not initialized yet. 
This behavior is available through the public API:
{code:java}
ignite.tables().table("tableName");
{code}

But client expected to see the table which was fully initialized.
Need to implement API which waits for table initialization, if it would need, and returns it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)