[infinispan-issues] [JBoss JIRA] Commented: (ISPN-611) Memcached issues with ruby client
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Fri Aug 20 10:02:12 EDT 2010
[ https://jira.jboss.org/browse/ISPN-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12546124#action_12546124 ]
Galder Zamarreno commented on ISPN-611:
---------------------------------------
The memcached protocol is not very clear in this area - http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt
"Each item sent by the server looks like this:
VALUE <key> <flags> <bytes> [<cas unique>]\r\n
<data block>\r\n
"
If 'cas unique' came, one would assume no space would be between the end of the version and \r\n. If no 'cas unique' was given, would a space be needed after bytes?
I can't say which of the two client libraries is right, but one thing is for sure, both of them are being a bit too strict in this area.
Tomas, can you guys try with a different Ruby memcached client library?
> Memcached issues with ruby client
> ---------------------------------
>
> Key: ISPN-611
> URL: https://jira.jboss.org/browse/ISPN-611
> Project: Infinispan
> Issue Type: Bug
> Components: Cache Server
> Affects Versions: 4.1.0.CR3
> Environment: Centos 5.5, Java 6u21, Ruby on Rails 2.3.2, Ruby Enterprise Edition 20090520
> Reporter: Tomaz Cerar
> Assignee: Galder Zamarreno
> Fix For: 4.1.0.Final
>
> Attachments: infinispan_memcached.log
>
>
> We have ROR application that uses MemCached for distributed cache.
> As we have many issues with MemCached and its "clustering" we are considering to move to Infinispan for many goodies it provides.
> The problem is that some commands that are issued against memcahe infinispan server die with error.
> in ruby application we get errror:
> ERROR -- : MemCacheError (unexpected response "VALUE views/semantic/1 0 674 \r\n"): unexpected response "VALUE views/semantic/1 0 674 \r\n"
> and in infinispan log I can find:
> 2010-08-19 12:21:37,330 ERROR [org.infinispan.server.core.AbstractProtocolDecoder$] (MemcachedServerWorker-1-7) Exception reported
> java.nio.channels.ClosedChannelException
> I will try to provide sample code to demonstrate error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list