[infinispan-issues] [JBoss JIRA] Updated: (ISPN-794) Memcached server should treat unsigned numeric values as such

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Wed Nov 24 10:09:59 EST 2010


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

Galder Zamarreño updated ISPN-794:
----------------------------------

        Summary: Memcached server should treat unsigned numeric values as such  (was: Memcached server should treat flags as unsigned 32bit integers)
    Description: 
As indicated by Michal:

""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"

Apart from flags (unsigned 16 bit int), also check:
- incr/decr value (unsigned 64 bit) 




  was:
As indicated by Michal:

""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"



> Memcached server should treat unsigned numeric values as such
> -------------------------------------------------------------
>
>                 Key: ISPN-794
>                 URL: https://jira.jboss.org/browse/ISPN-794
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cache Server
>    Affects Versions: 4.1.0.Final, 4.2.0.CR1
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>            Priority: Minor
>             Fix For: 4.2.0.CR2, 4.2.0.Final
>
>
> As indicated by Michal:
> ""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"
> Apart from flags (unsigned 16 bit int), also check:
> - incr/decr value (unsigned 64 bit) 

-- 
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