You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2016/12/07 23:28:58 UTC

[jira] [Assigned] (GEODE-2179) GatewaySenderMBeans isConnected flag does not notice if a connection is destroyed

     [ https://issues.apache.org/jira/browse/GEODE-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Smith reassigned GEODE-2179:
--------------------------------

    Assignee: Dan Smith  (was: Amey Barve)

> GatewaySenderMBeans isConnected flag does not notice if a connection is destroyed
> ---------------------------------------------------------------------------------
>
>                 Key: GEODE-2179
>                 URL: https://issues.apache.org/jira/browse/GEODE-2179
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>             Fix For: 1.1.0
>
>
> The GatewaySenderMBean has a method called isConnected which ultimately calls this code in GatewaySenderEventRemoteDispatcher
> {code}
> @Override
> public boolean isConnectedToRemote() {
>   return connection != null;
> }
> {code}
> However, this doesn't take into account that the connection may be destroyed, but not null. Therefore the mbean can incorrectly indicate that the sender is connected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)