You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2022/08/16 07:57:00 UTC

[iotdb] branch xingtanzjr/query_retry_redirect updated: change retry interval from 2000ms to 10_000ms

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

xingtanzjr pushed a commit to branch xingtanzjr/query_retry_redirect
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/xingtanzjr/query_retry_redirect by this push:
     new 575af1869b change retry interval from 2000ms to 10_000ms
575af1869b is described below

commit 575af1869b24b4856913022e517a6d0e82eb2e40
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Tue Aug 16 15:56:45 2022 +0800

    change retry interval from 2000ms to 10_000ms
---
 .../java/org/apache/iotdb/db/mpp/plan/execution/QueryExecution.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/QueryExecution.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/QueryExecution.java
index 4a6ac5fdc0..dd33a5d72d 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/QueryExecution.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/QueryExecution.java
@@ -90,7 +90,7 @@ public class QueryExecution implements IQueryExecution {
 
   private static final IoTDBConfig config = IoTDBDescriptor.getInstance().getConfig();
   private static final int MAX_RETRY_COUNT = 3;
-  private static final long RETRY_INTERVAL_IN_MS = 2000;
+  private static final long RETRY_INTERVAL_IN_MS = 10_000;
   private int retryCount = 0;
   private final MPPQueryContext context;
   private IScheduler scheduler;