abdullah alamoudi has uploaded a new change for review.
https://asterix-gerrit.ics.uci.edu/2841
Change subject: [NO ISSUE][ING] Increase timeout for stopping ingestion
......................................................................
[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
---
M
asterixdb/asterix-app/src/main/java/org/apache/asterix/app/active/ActiveEntityEventsListener.java
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/41/2841/1
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 @@
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;
--
To view, visit https://asterix-gerrit.ics.uci.edu/2841
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e590b1c7fdc0eb9be34d82b4b2ac1b2a2eef515
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <[email protected]>