Bug 745821 (EDG-58) - nonexistent memcached command should result in ERROR response, not SERVER_ERROR
Summary: nonexistent memcached command should result in ERROR response, not SERVER_ERROR
Keywords:
Status: CLOSED NEXTRELEASE
Alias: EDG-58
Product: JBoss Data Grid 5
Classification: JBoss
Component: Infinispan
Version: EAP 5.1.0 EDG TP
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 5.1.0 EDG TP
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/EDG-58
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-15 15:08 UTC by Michal Linhard
Modified: 2014-03-17 04:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-22 10:32:28 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EDG-58 0 Major Closed nonexistent memcached command should result in ERROR response, not SERVER_ERROR 2016-03-17 13:30:49 UTC

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



Note You need to log in before you can comment on or make changes to this bug.