Bug 745821 (EDG-58)

Summary: nonexistent memcached command should result in ERROR response, not SERVER_ERROR
Product: [JBoss] JBoss Data Grid 5 Reporter: Michal Linhard <mlinhard>
Component: InfinispanAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: EAP 5.1.0 EDG TPCC: nobody
Target Milestone: ---   
Target Release: EAP 5.1.0 EDG TP   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/EDG-58
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-22 10:32:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Linhard 2010-11-15 15:08:29 UTC
project_key: EDG

according to the memcached text protocol:
https://github.com/memcached/memcached/blob/master/doc/protocol.txt

sending of an unknown command should result in response "ERROR\r\n"
instead we are sending SERVER_ERROR.

echo -e "blah\r" | nc localhost 11211
SERVER_ERROR org.infinispan.server.core.UnknownOperationException: Unknown operation: blah

Comment 1 Galder ZamarreƱo 2010-11-16 10:13:41 UTC
Link: Added: This issue depends ISPN-774