Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-794

Memcached server should treat unsigned numeric values as such

XMLWordPrintable

      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)

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: