On May 2, 2013, at 5:05 PM, Tristan Tarrant <ttarr...@redhat.com> wrote:

> Hi all (Galder in particular),
> 
> the integration of ISPN-2281 has caused breakage of Infinispan Server 
> because the caches created by the server have key/value equivalence set 
> to AnyEquivalence instead of ByteArrayEquivalence (like the testsuite does).

^ Not sure I understand the problem...

I was expecting that the Infinispan Server would configure ByteArrayEquivalence 
for key and value for Hot Rod servers. That configuration seems to work as 
expected for the testsuite. What is your problem exactly?

> I believe the fix rests in making AnyEquivalence true to its name and 
> handle array equivalence too.

AnyEquivalence is equivalence based on java.lang.Object.equals/hashCode, which 
does not apply to arrays...

> HotRod on Infinispan Server is essentially broken until this is fixed.

^ If you configure keyEquivalence to ByteArrayEquivalence it should work fine.

> 
> Tristan
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


--
Galder Zamarreño
gal...@redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org


_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to