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 J Schuchardt (Jira)" <ji...@apache.org> on 2020/03/17 20:50:00 UTC

[jira] [Resolved] (GEODE-7877) deal with the static Version map in TcpClient

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

Bruce J Schuchardt resolved GEODE-7877.
---------------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

> deal with the static Version map in TcpClient
> ---------------------------------------------
>
>                 Key: GEODE-7877
>                 URL: https://issues.apache.org/jira/browse/GEODE-7877
>             Project: Geode
>          Issue Type: Improvement
>          Components: membership
>            Reporter: Bruce J Schuchardt
>            Assignee: Bruce J Schuchardt
>            Priority: Major
>             Fix For: 1.13.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> TcpClient has a cache of Locator Versions that it uses to avoid sending multiple VersionRequests to a Locator, each of which requires a new TCP/IP connection.  This could, at the least, be an instance variable now that TcpClient has been converted from being a bunch of static methods into being an instantiate-able class.
> Caching the Versions isn't necessarily bad.  If a Locator is upgraded to a newer Version it isn't going to communicate with the client using that Version - it will still serialize using the client's Version, and the client will use its own Version when serializing to the Locator.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)