commit | a7094732bd76095ac39e826e2da61b3a4261e21b | [log] [tgz] |
---|---|---|
author | Murtadha Hubail <mhubail@apache.org> | Thu Aug 02 14:28:02 2018 -0700 |
committer | Murtadha Hubail <mhubail@apache.org> | Thu Aug 02 17:09:01 2018 -0700 |
tree | 374b9f5f1a59ab713048222a5c9cda3b09ce4f20 | |
parent | ad13fc6463b5adae637c80157aa3df1cc26c3a45 [diff] |
[NO ISSUE][NET] Set Handle State on Connect Failure - user model changes: no - storage format changes: no - interface changes: no Details: - Update the handle state to CLOSED when the handle is closed after failure to connect attempt. Change-Id: I866ba42f5433e1d9d312b6c0ab19296cad4d20f3 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2838 Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Murtadha Hubail <mhubail@apache.org> Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
diff --git a/hyracks-fullstack/hyracks/hyracks-ipc/src/main/java/org/apache/hyracks/ipc/impl/IPCConnectionManager.java b/hyracks-fullstack/hyracks/hyracks-ipc/src/main/java/org/apache/hyracks/ipc/impl/IPCConnectionManager.java index cde26d5..b191bd3 100644 --- a/hyracks-fullstack/hyracks/hyracks-ipc/src/main/java/org/apache/hyracks/ipc/impl/IPCConnectionManager.java +++ b/hyracks-fullstack/hyracks/hyracks-ipc/src/main/java/org/apache/hyracks/ipc/impl/IPCConnectionManager.java
@@ -286,6 +286,7 @@ } catch (IOException e) { LOGGER.error("Failed to accept channel ", e); close(channelKey, channel); + handle.setState(HandleState.CLOSED); } } workingPendingConnections.clear();