[infinispan-issues] [JBoss JIRA] (ISPN-9320) Automatic hot rod client version selection

Tristan Tarrant (JIRA) issues at jboss.org
Mon Jul 2 08:38:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-9320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599443#comment-13599443 ] 

Tristan Tarrant edited comment on ISPN-9320 at 7/2/18 8:37 AM:
---------------------------------------------------------------

I'd also like to see a decoupling of protocol version from available ops:
* return the recognized ops as a response to PING as a list (e.g. SMTP does this in response to EHLO requests)
* version the ops, e.g. if we make incompatible changes to PUT we introduce PUT2 with dedicated ops

But this should really go into Hot Rod 3.


was (Author: nadirx):
I'd also like to see a decoupling of protocol version from available ops:
* return the recognized ops as a response to PING as a list (e.g. SMTP does this in response to EHLO requests)
* version the ops, e.g. if we make incompatible changes to PUT we introduce PUT2 with dedicated ops

> 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