commit | 94b141bc5a667efddcb3e1af6c8e6cee9544a305 | [log] [tgz] |
---|---|---|
author | Michael Blow <michael.blow@couchbase.com> | Wed Oct 11 17:24:55 2017 -0400 |
committer | Michael Blow <mblow@apache.org> | Wed Oct 11 14:27:42 2017 -0700 |
tree | d38f59a1e413a137ac7d510ffe3cd2336377e474 | |
parent | 086cb05bbdf38abade6c570e74a8df314b080b1f [diff] |
[NO ISSUE][HYR] Only attempt one reconnect when using IPC handle Change-Id: I6801c47c251df0360133b010d16869854ac3b817 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2068 Reviewed-by: Murtadha Hubail <mhubail@apache.org> Integration-Tests: Murtadha Hubail <mhubail@apache.org> Tested-by: Murtadha Hubail <mhubail@apache.org>
diff --git a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/ClusterControllerRemoteProxy.java b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/ClusterControllerRemoteProxy.java index ede2c41..c09f317 100644 --- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/ClusterControllerRemoteProxy.java +++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/ClusterControllerRemoteProxy.java
@@ -53,7 +53,7 @@ @Override protected int getMaxRetries(boolean first) { // -1 == retry forever - return first ? clusterConnectRetries : -1; + return first ? clusterConnectRetries : 0; } @Override
diff --git a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/NodeControllerRemoteProxy.java b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/NodeControllerRemoteProxy.java index 41284a9..3819ef8 100644 --- a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/NodeControllerRemoteProxy.java +++ b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-common/src/main/java/org/apache/hyracks/control/common/ipc/NodeControllerRemoteProxy.java
@@ -50,7 +50,7 @@ @Override protected int getMaxRetries(boolean first) { // -1 == retry forever - return -1; + return 0; } @Override