[infinispan-issues] [JBoss JIRA] Created: (ISPN-811) Memcached unknown command causes a lost line in command pipeline

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Tue Nov 30 06:13:09 EST 2010


Memcached unknown command causes a lost line in command pipeline
----------------------------------------------------------------

                 Key: ISPN-811
                 URL: https://jira.jboss.org/browse/ISPN-811
             Project: Infinispan
          Issue Type: Bug
          Components: Cache Server
    Affects Versions: 4.2.0.CR2, 4.1.0.Final
            Reporter: Galder Zamarreño
            Assignee: Galder Zamarreño
             Fix For: 4.2.0.CR3, 4.2.0.Final


>From Michal:

"memcached server consumes one more line of input than it has to when unknown command occurs. 

input: 
"bogus\r\ndelete a\r\n" 
expected output: 
ERROR 
NOT_FOUND 
actual output: 
ERROR 

input: 
"bogus\r\ndelete a\r\ndelete a\r\n" 
expected output: 
ERROR 
NOT_FOUND 
NOT_FOUND 
actual output: 
ERROR 
NOT_FOUND 

input: "bogus \r\ndelete a\r\ndelete a\r" (space after bogus) behaves as expected 

check MemcachedDecoder.scala, line 45 
readLine consumes next line even when it was already done by readElement"

-- 
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