geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (GEODE-3895) Add Handshake/Message version byte
Date Wed, 01 Nov 2017 19:36:00 GMT


ASF GitHub Bot commented on GEODE-3895:

kohlmu-pivotal commented on a change in pull request #1001: GEODE-3895: Add Handshake/Message
version byte

 File path: geode-core/src/main/java/org/apache/geode/internal/cache/client/protocol/
 @@ -48,6 +49,11 @@ public ClientProtocolService lookupService() {
       throw new ServiceLoadingFailureException(
           "There is more than one ClientProtocolService implementation found in JVM; aborting");
-    return clientProtocolServices.get(0);
+    ClientProtocolService clientProtocolService = clientProtocolServices.get(0);
 Review comment:
   why could we not convert the `List` to a Map. That way we can easily do a "version lookup"
rather than size lookup.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Add Handshake/Message version byte
> ----------------------------------
>                 Key: GEODE-3895
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: client/server
>            Reporter: Brian Baynes
>            Priority: Major
> Add an extra protocol version byte so that the first two bytes will (initially) be 110
followed by 1. The '1' byte will be increased when the HandshakeRequest or Message changes
in such a way that we can't make the handshake backward-compatible.
> Ensure that clients on newer versions will have their connections terminated.

This message was sent by Atlassian JIRA

View raw message