You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2023/11/17 10:11:00 UTC

[jira] [Created] (IGNITE-20887) Sql. Avoid using blocking api in sql threads

Konstantin Orlov created IGNITE-20887:
-----------------------------------------

             Summary: Sql. Avoid using blocking api in sql threads
                 Key: IGNITE-20887
                 URL: https://issues.apache.org/jira/browse/IGNITE-20887
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Konstantin Orlov


As for now, there are two places which blocks sql thread in order to wait for completion of the operation:
* {{join()}} on futures returned by {{UpdatableTable}} in {{ModifyNode}}
* finalisation of a transaction in {{QueryTransactionWrapper}}

Performance of a sql engine is sensitive to a blocking of sql threads because every fragment of a query is bound to a particular thread.

Let's revise and fix aforementioned places.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)