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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Wed Dec 1 08:01:06 EST 2010


     [ https://jira.jboss.org/browse/ISPN-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño resolved ISPN-811.
-----------------------------------

    Resolution: Done


> 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.1.0.Final, 4.2.0.CR2
>            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