| Summary: | max key length in memcached server module is not limited | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 5 | Reporter: | Michal Linhard <mlinhard> |
| Component: | Infinispan | Assignee: | Default User <jbpapp-maint> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | nobody |
| Target Milestone: | --- | ||
| Target Release: | EAP 5.1.0 EDG TP | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/EDG-98 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-22 10:31:55 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-10-28 10:53:53 UTC
I think it's right that we limit the key size as per the protocol. Michal, out of curiosity, did you check what happens if you send keys longer than 250 characters to the standard memcached implementation? Does it through an error or truncate it? IIRC it just works as if it was a normal key. No errors in that concern as far as I remember. (the truncating I didn't check though) I mean I tried length 251, no extreme cases yet :-) Oh sorry, you ment standard memcached implementation... it responds with CLIENT_ERROR Right, so if the standard memcached throws an ERROR, we should be doing the same Link: Added: This issue depends ISPN-746 Upgrade to 4.2.0.BETA1 when is out to have the fix. tried with infinispan 4.2.0.BETA1 and the limitation still doesn't work with commands get and gets (the case is not handled in the method MemcachedDecoder.readKeys) Link: Added: This issue depends ISPN-780 Release Notes Docs Status: Removed: Not Required |