[infinispan-dev] Remote execute null return (ISPN-6406)

Galder Zamarreño galder at redhat.com
Tue Apr 19 12:31:57 EDT 2016


Hi all,

A Hot Rod protocol change might be required as a result of [1].

In essence, the Hot Rod protocol does not specify how remote exec calls that return null should respond back to the client [2].

Returning an empty byte[] won't cut it since returning an empty String would be represented that way, and that's different to null.

I don't know how this could be handled without modifying the protocol, any ideas?

If modifying the protocol, adding a new status code would be a way to handle it.

Thoughts?

[1] https://issues.jboss.org/browse/ISPN-6406
[2] http://infinispan.org/docs/8.2.x/user_guide/user_guide.html#_hot_rod_protocol_2_0
--
Galder Zamarreño
Infinispan, Red Hat




More information about the infinispan-dev mailing list