Bruce J Schuchardt created GEODE-7877:
-----------------------------------------
Summary: 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
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)