[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1206) rest and memcached server modules aren't isolated and affect each other

Michal Linhard (JIRA) jira-events at lists.jboss.org
Mon Jun 27 14:25:23 EDT 2011


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

Michal Linhard commented on ISPN-1206:
--------------------------------------

this is related to server module isolation problems we talked about before
{| class="wikitable"
|-
! Writer\ Reader
! HotRod
! Memcached
! REST
! InVM
|-
| HotRod
| OK
| String vs ByteArrayKey problem, memcached won't see the entry
| Isolated while JBPAPP-5277, then String vs ByteArrayKey problem, REST won't see the entry.
| Must access via ByteArrayKey, possible to get CacheValue
|}

> rest and memcached server modules aren't isolated and affect each other
> -----------------------------------------------------------------------
>
>                 Key: ISPN-1206
>                 URL: https://issues.jboss.org/browse/ISPN-1206
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cache Server
>    Affects Versions: 5.0.0.CR4
>            Reporter: Michal Linhard
>            Assignee: Galder ZamarreƱo
>
> if we work with the same key with REST and memcached client at once, a server side class cast exception occurs because both work with different value representation:
> SERVER_ERROR java.lang.ClassCastException: [B cannot be cast to org.infinispan.server.memcached.MemcachedValue
> SERVER_ERROR java.lang.ClassCastException: [B cannot be cast to org.infinispan.server.core.CacheValue
> test:
> https://svn.devel.redhat.com/repos/jboss-qa/edg/edg-adapter/src/test/java/org/jboss/edg/adapter/manual/MemcachedProblemTest.java

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list