You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by am...@apache.org on 2018/08/03 03:14:09 UTC

asterixdb git commit: [NO ISSUE][ING] Increase timeout for stopping ingestion

Repository: asterixdb
Updated Branches:
  refs/heads/master a7094732b -> 5de12d01c


[NO ISSUE][ING] Increase timeout for stopping ingestion

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- To allow systems under high load enough time to push
  accumulated data to storage, we increased the default
  timeout for stopping active entities to 5 minutes.

Change-Id: I3e590b1c7fdc0eb9be34d82b4b2ac1b2a2eef515
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2841
Reviewed-by: Murtadha Hubail <mh...@apache.org>
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/5de12d01
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/5de12d01
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/5de12d01

Branch: refs/heads/master
Commit: 5de12d01c019e609992845e6fc5a2d0a9b2cb9e9
Parents: a709473
Author: Abdullah Alamoudi <ba...@gmail.com>
Authored: Thu Aug 2 17:05:43 2018 -0700
Committer: abdullah alamoudi <ba...@gmail.com>
Committed: Thu Aug 2 20:13:45 2018 -0700

----------------------------------------------------------------------
 .../apache/asterix/app/active/ActiveEntityEventsListener.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/5de12d01/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/active/ActiveEntityEventsListener.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/active/ActiveEntityEventsListener.java b/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/active/ActiveEntityEventsListener.java
index 345080c..b5432c5 100644
--- a/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/active/ActiveEntityEventsListener.java
+++ b/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/active/ActiveEntityEventsListener.java
@@ -75,8 +75,8 @@ public abstract class ActiveEntityEventsListener implements IActiveEntityControl
             ActivityState.STARTING, ActivityState.STOPPING, ActivityState.RECOVERING, ActivityState.CANCELLING);
     private static final String DEFAULT_ACTIVE_STATS = "{\"Stats\":\"N/A\"}";
     // TODO: Make configurable https://issues.apache.org/jira/browse/ASTERIXDB-2065
-    protected static final long STOP_MESSAGE_TIMEOUT = 2L;
-    protected static final long SUSPEND_MESSAGE_TIMEOUT = 5L;
+    protected static final long STOP_MESSAGE_TIMEOUT = 5L;
+    protected static final long SUSPEND_MESSAGE_TIMEOUT = 10L;
     protected static final TimeUnit TIMEOUT_UNIT = TimeUnit.MINUTES;
     protected final IClusterStateManager clusterStateManager;
     protected final ActiveNotificationHandler handler;