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

Memcached server should treat unsigned numeric values as such

    Details

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  galder.zamarreno Galder Zamarreño
                  Reporter:
                  galder.zamarreno Galder Zamarreño
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: