[infinispan-issues] [JBoss JIRA] (ISPN-9320) Automatic hot rod client version selection
Tristan Tarrant (JIRA)
issues at jboss.org
Mon Jul 2 06:56:16 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599396#comment-13599396 ]
Tristan Tarrant commented on ISPN-9320:
---------------------------------------
Proposal:
the client should start from the highest version it supports and sends PING requests decrementing the version in the header until it receives a valid PING response from the server.
The server doesn't currently validate the version in the header (it just checks whether it is >=20 to enable the 2.x decoder).
> Automatic hot rod client version selection
> ------------------------------------------
>
> Key: ISPN-9320
> URL: https://issues.jboss.org/browse/ISPN-9320
> Project: Infinispan
> Issue Type: Feature Request
> Reporter: Tristan Tarrant
> Assignee: Galder Zamarreño
> Fix For: 9.4.0.Final
>
>
> A HotRod client should be able to automatic detect the server version and downgrade the protocol version if the server is older.
> Older HotRod clients are still able to connect to newer servers.
> It would be helpful if new API functions are rejected with a clear error message that the function is not available if using an old protocol.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list