You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by al...@apache.org on 2022/01/24 14:23:59 UTC

[ignite] branch sql-calcite updated: IGNITE-16277 Fix executor thread timeout - Fixes #9743.

This is an automated email from the ASF dual-hosted git repository.

alexpl pushed a commit to branch sql-calcite
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/sql-calcite by this push:
     new 904e753  IGNITE-16277 Fix executor thread timeout - Fixes #9743.
904e753 is described below

commit 904e753abd7c54185aea1d81f3fdce32cb6e6024
Author: Aleksey Plekhanov <pl...@gmail.com>
AuthorDate: Mon Jan 24 17:20:47 2022 +0300

    IGNITE-16277 Fix executor thread timeout - Fixes #9743.
    
    Signed-off-by: Aleksey Plekhanov <pl...@gmail.com>
---
 .../processors/query/calcite/exec/QueryTaskExecutorImpl.java       | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/QueryTaskExecutorImpl.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/QueryTaskExecutorImpl.java
index 9a31205..ddbd1ee 100644
--- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/QueryTaskExecutorImpl.java
+++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/QueryTaskExecutorImpl.java
@@ -20,7 +20,6 @@ package org.apache.ignite.internal.processors.query.calcite.exec;
 import java.util.Objects;
 import java.util.UUID;
 import java.util.concurrent.CompletableFuture;
-
 import org.apache.ignite.internal.GridKernalContext;
 import org.apache.ignite.internal.processors.query.calcite.CalciteQueryProcessor;
 import org.apache.ignite.internal.processors.query.calcite.util.AbstractService;
@@ -29,8 +28,6 @@ import org.apache.ignite.internal.util.StripedExecutor;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.thread.IgniteStripedThreadPoolExecutor;
 
-import static org.apache.ignite.configuration.IgniteConfiguration.DFLT_THREAD_KEEP_ALIVE_TIME;
-
 /**
  * TODO use {@link StripedExecutor}, registered in core pols.
  */
@@ -98,8 +95,8 @@ public class QueryTaskExecutorImpl extends AbstractService implements QueryTaskE
             ctx.igniteInstanceName(),
             "calciteQry",
             this,
-            true,
-            DFLT_THREAD_KEEP_ALIVE_TIME
+            false,
+            0
         ));
     }