Bug 745831 (EDG-87)

Summary: flags in storage commands should be treated as unsigned 32bit integer
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: unspecifiedCC: nobody
Target Milestone: ---   
Target Release: EAP 5.1.0 EDG TP   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/EDG-87
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-26 15:34:36 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-22 11:43:39 UTC
project_key: EDG

"flags" argument used with memcached storage commands is described as 16 or 32 bit unsigned integer.
if I understand it correctly 16bits is recommended for clients for compatibility with older memcached implementations, but current memcached implementation should support 32bits.

original memcached implementation allows range: 0 .. 4294967295 (actually also some negative numbers, but that's a bug I guess: http://code.google.com/p/memcached/issues/detail?id=168)
we allow range: -2147483648 .. 2147483647

Comment 1 Galder ZamarreƱo 2010-11-24 14:24:00 UTC
Link: Added: This issue depends ISPN-794