Roman Puchkovskiy created IGNITE-22687:
------------------------------------------

             Summary: Do not common system thread pool in SQL
                 Key: IGNITE-22687
                 URL: https://issues.apache.org/jira/browse/IGNITE-22687
             Project: Ignite
          Issue Type: Improvement
            Reporter: Roman Puchkovskiy


Currently, IgniteSqlImpl#processCursor() has the following line:

cursor.nextResult().whenCompleteAsync(this::processCursor);

This schedules subsequent processCursor() invocation to be executed in the 
system common ForkJoinPool, which is dangerous because the pool might bee 
exhausted (starved) by the user, and SQL execution could suffer.

It is suggested to use some Ignite-internal thread pool here.



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

Reply via email to