You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2017/12/13 23:36:01 UTC

[jira] [Resolved] (GEODE-4086) ClientHealthMonitor removing client - socket should be closed before cleanup is done

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

Bruce Schuchardt resolved GEODE-4086.
-------------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: 1.4.0)

Testing has shown that ClientHealthMonitor is not causing authorization credentials to be lost when shutting down idle connections.

> ClientHealthMonitor removing client - socket should be closed before cleanup is done
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-4086
>                 URL: https://issues.apache.org/jira/browse/GEODE-4086
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Brian Baynes
>
> When ClientHealthMonitor decides to remove a client, it appears to initiate cleanup (including removing the client's unique ID/auth token) before ensuring the socket is closed, creating a race condition where the server may accept additional requests from the client before the connection is closed.  This results in an auth exception because the auth token for the client was already removed.
> Instead, the socket should be closed before the cleanup is done.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)