You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2025/02/17 10:37:00 UTC
[jira] [Comment Edited] (IGNITE-24477) Sql. Add ability to define executor that will be used for public script execution
[ https://issues.apache.org/jira/browse/IGNITE-24477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927712#comment-17927712 ]
Pavel Pereslegin edited comment on IGNITE-24477 at 2/17/25 10:36 AM:
---------------------------------------------------------------------
Try to use {{threadPoolsManager.commonScheduler()}} instead of forkjoinpool.
was (Author: xtern):
Try to use {{threadPoolsManager.commonScheduler()}} for this.
> Sql. Add ability to define executor that will be used for public script execution
> ---------------------------------------------------------------------------------
>
> Key: IGNITE-24477
> URL: https://issues.apache.org/jira/browse/IGNITE-24477
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> Currently public script execution uses ForkJoinPool for async execution.
> {code:java}
> if (cursor.hasNextResult()) {
> cursor.nextResult().whenCompleteAsync(this::processCursor);
> return;
> }
> {code}
> For example, thin client accepts user specified executor for... something (see IgniteClient.Builder.asyncContinuationExecutor(...)).
> It might be worth somehow adding the ability to define a pool for asynchronous processing in the embedded client.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)